Interface WithString
- All Superinterfaces:
ContractSupport<String>
,EqualsContract<String>
,HashCodeContract<String>
,ObjectContract<String>
,ProviderSupport<String>
,SupportedMethods
,ToStringContract<String>
Provides an implementation of the
provider()
method that provides instances of String
.- Since:
- 1.0
- Author:
- evanbergstrom
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull ObjectProvider
<String> provider()
Returns an instance ofObjectProvider
that providesString
objects.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
-
Method Details
-
provider
Returns an instance ofObjectProvider
that providesString
objects.- Specified by:
provider
in interfaceProviderSupport<String>
- Returns:
- an instance of
StringProvider
.
-