public class StringEqualSpecification extends StringSpecification
StringSpecification.Options.StringSpecification.OptionsexpectedString, options| Constructor and Description |
|---|
StringEqualSpecification(String expectedString,
StringSpecification.Options options)
Creates a string-equality specification.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isSatisfiedByString(String candidateString) |
String |
toString() |
getExpectedString, getOptions, isSatisfiedByclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitand, any, asPredicate, negate, none, orpublic StringEqualSpecification(String expectedString, StringSpecification.Options options)
expectedString - the string to compare the candidate against.options - the comparison options.protected boolean isSatisfiedByString(String candidateString)
isSatisfiedByString in class StringSpecificationCopyright © 2013-2018–2019 SeedStack. All rights reserved.