com.cosium.hal_mock_mvc.HalMockMvcBuilderFactory Maven / Gradle / Ivy
package com.cosium.hal_mock_mvc;
import static java.util.Objects.requireNonNull;
import org.springframework.test.web.servlet.MockMvc;
/**
* @author Réda Housni Alaoui
*/
public class HalMockMvcBuilderFactory implements HalMockMvcBuilders {
private final MockMvc mockMvc;
public HalMockMvcBuilderFactory(MockMvc mockMvc) {
this.mockMvc = requireNonNull(mockMvc);
}
@Override
public HalMockMvc.Builder create() {
return HalMockMvc.builder(mockMvc);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy