Uses of Class
com.guinetik.hexafun.testing.UseCaseTest
Packages that use UseCaseTest
-
Uses of UseCaseTest in com.guinetik.hexafun
Methods in com.guinetik.hexafun that return UseCaseTestModifier and TypeMethodDescription<I,O> UseCaseTest<I, O> HexaApp.test(UseCaseKey<I, O> key) Start testing a use case using a type-safe key. -
Uses of UseCaseTest in com.guinetik.hexafun.testing
Methods in com.guinetik.hexafun.testing that return UseCaseTestModifier and TypeMethodDescriptionExecute the use case and verify the result matches a predicate.UseCaseTest.expectException(Class<? extends Exception> exceptionClass) Execute the use case and verify it throws a specific exception.UseCaseTest.expectFailure(Consumer<String> errorVerifier) Execute the use case and verify the result is a failure.Execute the use case and verify the result is successful.<T> UseCaseTest<I,T> Map the result using a transformer function for further verification.<I,O> UseCaseTest<I, O> Start a test for the specified use case.<I,O> UseCaseTest<I, O> Start testing a use case.Specify the input for the use case.