Interface TestObjectProvider<T>
- Type Parameters:
T
- identifying the type to be tested is usually but not necessarily at leastSerializable
.
- All Known Subinterfaces:
ShouldBeNotNull<T>
,ShouldBeSerializable<T>
,ShouldHandleObjectContracts<T>
,ShouldImplementEqualsAndHashCode<T>
,ShouldImplementToString<T>
- All Known Implementing Classes:
MapperTest
public interface TestObjectProvider<T>
Helper interface for integrating the test-framework with arbitrary tests. In
essence it provides the method
getUnderTest()
that will return the
bean / value-object to be tested. Usually instantiated by Inject or other
ways, but out of control of the actual test-base-class- Author:
- Oliver Wolff
-
Method Summary
-
Method Details
-
getUnderTest
- Returns:
- the bean to be tested. Usually instantiated by Inject or other concrete
-