附录II Spring Test Utils
- AopTestUtils
- AssertionErrors
- JsonExpectationsHelper
- JsonPathExpectationsHelper
- ReflectionTestUtils
- XmlExpectationsHelper
- XpathExpectationsHelper
- ModelAndViewAssert
- BeanFactoryAnnotationUtils,用它getBeanByQualifier特别有用
Spring Boot提供的有以下这些:
- ConfigFileApplicationContextInitializer
- EnvironmentTestUtils
- OutputCapture