Class ObjectOnlyTest
java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.interfaces.ObjectOnlyTest
- All Implemented Interfaces:
EqualsContract<ObjectOnly>
,HashCodeContract<ObjectOnly>
,ObjectContract<ObjectOnly>
,ToStringContract<ObjectOnly>
,ContractSupport<ObjectOnly>
,ProviderSupport<ObjectOnly>
,SupportedMethods
Tests for the
ObjectOnly
class.- Since:
- 1.0
- Author:
- evanbergstrom
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ObjectProvider
<ObjectOnly> provider()
void
Test thatObjectOnly
only implements theObject
interface.Methods inherited from class org.soliscode.test.OptionalMethodSupport
doesNotSupportMethod, supportsMethod, unsupportedMethods
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.soliscode.test.contract.object.EqualsContract
testEqualsForNullValue, testEqualsIsConsistent, testEqualsIsReflexive, testEqualsIsSymmetric, testEqualsIsTransitive
Methods inherited from interface org.soliscode.test.contract.object.HashCodeContract
testHashCodeDistribution, testHashCodeIsStable, testHashCodeWithEqualValues, testHashDifferentValues
Methods inherited from interface org.soliscode.test.SupportedMethods
supportsMethod
Methods inherited from interface org.soliscode.test.contract.object.ToStringContract
testToStringForDifferentValues, testToStringForEqualValues, testToStringIsConsistent, testToStringOverridden
-
Constructor Details
-
ObjectOnlyTest
public ObjectOnlyTest()
-
-
Method Details
-
provider
- Specified by:
provider
in interfaceProviderSupport<ObjectOnly>
-
testObjectIsOnlyInterface
@Test @DisplayName("ObjectOnly only implements the Object interface.") public void testObjectIsOnlyInterface()Test thatObjectOnly
only implements theObject
interface.
-