Class RestTestConfig

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor

    @Configuration
    public class RestTestConfig
    extends RestConfig
    • Constructor Detail

      • RestTestConfig

        public RestTestConfig()
    • Method Detail

      • getMessageConverterArray

        public static org.springframework.http.converter.HttpMessageConverter<?>[] getMessageConverterArray​(org.springframework.context.ApplicationContext context)
      • buildMvc

        public static org.springframework.test.web.servlet.MockMvc buildMvc​(org.springframework.context.ConfigurableApplicationContext context,
                                                                            Class<?> controllerClass)