Uses of Class
com.avoka.tm.test.MockRegister
-
Packages that use MockRegister Package Description com.avoka.tm.test Provides Unit Testing support classes. -
-
Uses of MockRegister in com.avoka.tm.test
Methods in com.avoka.tm.test that return MockRegister Modifier and Type Method Description MockRegister
MockRegister. thenReturn(HttpResponse response)
Resolves the previously set HttpRequest (via when(HttpRequest) and registers the given HttpResponse for it in the mock test request registry.MockRegister
MockRegister. thenReturn(Object serviceResult)
Resolves the previously set SvcDef (via when(SvcDef) and registers the given Object for it in the mock test service registry.MockRegister
MockRegister. when(HttpRequest request)
Set the mock test context request registry key (the HttpRequest).MockRegister
MockRegister. when(SvcDef svcDef)
Set the mock test context service registry key (the SvcDef).
-