public class StringEqualSpecification extends StringSpecification
StringSpecification.Options
.StringSpecification.Options
expectedString, 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, isSatisfiedBy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
and, any, asPredicate, negate, none, or
public 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 StringSpecification
Copyright © 2013-2018–2019 SeedStack. All rights reserved.