- withClassName(NameStyle) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will assert that the
Object.toString() output contains the name of the subject class in
the
NameStyle specified.
- withFailOnExcludedFields(boolean) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
- withFormatter(Class<S>, Formatter<S>) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
Define a value formatter for the given class type.
- withHashCode(boolean) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If set to true, this tester will assert that the Object.toString() output contains the hash code as returned
by Object.hashCode().
- withHashCodeProvider(HashCodeProvider) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
With hash code provider
- withIgnoredFields(String...) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will assert that all but the excluded fields are present in the Object.toString() output.
- withIgnoredFields(Collection<String>) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will assert that all but the excluded fields are present in the Object.toString() output.
- withInheritedFields(boolean) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
This is enabled by default.
- withMatchingFields(String) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will only assert that field names matching this regex pattern are present in the Object.toString() output.
- withMatchingFields(FieldFilter) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will only assert that field matching this filter criteria are present in the Object.toString() output.
- withNullValue(String) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
The value to expect on the toString output when a field value is null.
- withOnlyTheseFields(String...) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will only assert that the given fields are present in the Object.toString() output.
- withOnlyTheseFields(Collection<String>) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
If specified, this tester will only assert that the given fields are present in the Object.toString() output.
- withPrefabValue(Class<S>, S) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
Adds prefabricated values for instance fields of classes that ToStringVerifier cannot instantiate by itself.
- withPreset(Preset) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
A number of presets come with this library.
- withValueProvider(Class<S>, Function<Path, S>) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
Adds value provider values for instance fields of classes that ToStringVerifier cannot instantiate by itself.
- withValueProvider(Provider) - Method in class com.jparams.verifier.tostring.ToStringVerifier
-
Adds value provider values for instance fields of classes that ToStringVerifier cannot instantiate by itself.