All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.davidebocca.util.unit.test.rules.conf.SpringBootTestConfig Maven / Gradle / Ivy

/**
 * 
 */
package io.github.davidebocca.util.unit.test.rules.conf;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.test.web.servlet.MockMvc;

/**
 * @author cr10248
 *
 */
public class SpringBootTestConfig {

	private MockMvc mockMvc;
	private Map autowiredBeanMap = new HashMap<>();
	private List pathList;

	/**
	 * 
	 * @param controllerClassList
	 * @param mockMvc
	 */
	public SpringBootTestConfig(Map autowiredBeanMap, MockMvc mockMvc, List pathlist) {
		this.autowiredBeanMap = autowiredBeanMap;
		this.mockMvc = mockMvc;
		this.pathList = pathlist;
	}

	/**
	 * @return the mockMvc
	 */
	public MockMvc getMockMvc() {
		return mockMvc;
	}

	/**
	 * @param mockMvc the mockMvc to set
	 */
	public void setMockMvc(MockMvc mockMvc) {
		this.mockMvc = mockMvc;
	}

	/**
	 * @return the pathList
	 */
	public List getPathList() {
		return pathList;
	}

	/**
	 * @param pathList the pathList to set
	 */
	public void setPathList(List pathList) {
		this.pathList = pathList;
	}

	/**
	 * @return the autowiredBeanMap
	 */
	public Map getAutowiredBeanMap() {
		return autowiredBeanMap;
	}

	/**
	 * @param autowiredBeanMap the autowiredBeanMap to
	 *                         set
	 */
	public void setAutowiredBeanMap(Map autowiredBeanMap) {
		this.autowiredBeanMap = autowiredBeanMap;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy