Package com.avoka.tm.test
Provides Unit Testing support classes.
-
Class Summary Class Description AbstractJUnitTest Provides an abstraction utility for unit testing.JUnitTestRunner Provides a runner utility for unit testing.JUnitTestRunner.TestWrapper Test wrapper.MockRegister The MockRegister class supports testing your service code with mock responses for external services calls when executing in a unit test context.MockRegistry Provides thread local registry for mock HTTP request/response pairs and service/result object pairs.MockRequest Mock implementation of HttpServletRequest.MockResponse Mock implementation ofHttpServletResponse
.MockServletContext Mock implementation ofServletContext
.MockVoBuilder Provides a mock entity value object creation service for unit testing. -
Exception Summary Exception Description JUnitTestException Provides a runtime exception for unit testing.MockPrincipal Mock implementation of a userprincipal
.MockRequest Mock implementation of HttpServletRequest.MockResponse Mock implementation ofHttpServletResponse
.MockServletConfig Mock implementation ofServletConfig
.MockServletContext Mock implementation ofServletContext
.MockSession Mock implementation ofHttpSession
.