Package com.avoka.tm.test
Class MockRegistry
java.lang.Object
com.avoka.tm.test.MockRegistry
Provides thread local registry for mock HTTP request/response pairs and service/result object pairs.
 These are used in Fluent tests to mock up calls to external and internal services.
- Since:
- 5.1.7
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidclear()Clear registries.Get the mock object registry.
- 
Method Details- 
getRegistryGet the mock object registry.- Returns:
- the service registry
 
- 
clearpublic static void clear()Clear registries. This is important to avoid polluting non-test code paths.
 
-