// Path: src/main/java/com/github/ggeorgovassilis/springjsonmapper/model/MethodParameterDescriptor.java
// public enum Type {
// 	httpParameter, pathVariable, requestBody, requestPart, cookie, httpHeader
// };


import com.github.ggeorgovassilis.springjsonmapper.model.MethodParameterDescriptor.Type;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Method;
import static org.junit.jupiter.api.Assertions.assertEquals;
package com.github.ggeorgovassilis.springjsonmapper.model;




/**
 * Test for {@link MethodParameterDescriptor}
 * 
 * @author george georgovassilis
 *
 */

public class TestMethodParameterDescriptior {

	@Test
	public void testSettersAndGetters() {
		MethodParameterDescriptor mpd = new MethodParameterDescriptor();
		Method method = mpd.getClass().getMethods()[0];

		mpd.setMethod(method);
		mpd.setName("someName");
		mpd.setParameterOrdinal(3);
// Path: src/main/java/com/github/ggeorgovassilis/springjsonmapper/model/MethodParameterDescriptor.java
// public enum Type {
// 	httpParameter, pathVariable, requestBody, requestPart, cookie, httpHeader
// };


// Path: src/test/java/com/github/ggeorgovassilis/springjsonmapper/model/TestMethodParameterDescriptior.java
import com.github.ggeorgovassilis.springjsonmapper.model.MethodParameterDescriptor.Type;
import org.junit.jupiter.api.Test;
import java.lang.reflect.Method;
import static org.junit.jupiter.api.Assertions.assertEquals;

package com.github.ggeorgovassilis.springjsonmapper.model;




/**
 * Test for {@link MethodParameterDescriptor}
 * 
 * @author george georgovassilis
 *
 */

public class TestMethodParameterDescriptior {

	@Test
	public void testSettersAndGetters() {
		MethodParameterDescriptor mpd = new MethodParameterDescriptor();
		Method method = mpd.getClass().getMethods()[0];

		mpd.setMethod(method);
		mpd.setName("someName");
		mpd.setParameterOrdinal(3);
		mpd.setType(Type.httpHeader);