Uses of Class
com.avoka.tm.test.MockRegister
Packages that use MockRegister
-
Uses of MockRegister in com.avoka.tm.test
Methods in com.avoka.tm.test that return MockRegisterModifier and TypeMethodDescriptionMockRegister.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.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.when
(HttpRequest request) Set the mock test context request registry key (the HttpRequest).Set the mock test context service registry key (the SvcDef).