Class StringSubject.CaseInsensitiveStringComparison
java.lang.Object
com.qaitsolutions.pframe.core.assertion.subjects.StringSubject.CaseInsensitiveStringComparison
- Enclosing class:
StringSubject
Wrapper over
StringSubject.CaseInsensitiveStringComparison
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contains
(CharSequence expectedSequence) Fails if the string does not contain the given sequence (while ignoring case).void
doesNotContain
(CharSequence expectedSequence) Fails if the string contains the given sequence (while ignoring case).void
Fails if the subject is not equal to the given sequence (while ignoring case).void
isNotEqualTo
(String unexpected) Fails if the subject is equal to the given string (while ignoring case).
-
Method Details
-
isEqualTo
Fails if the subject is not equal to the given sequence (while ignoring case). Wrapper overStringSubject.CaseInsensitiveStringComparison.isEqualTo(String)
.- Parameters:
expected
- Value to be verified against.
-
isNotEqualTo
Fails if the subject is equal to the given string (while ignoring case). Wrapper overStringSubject.CaseInsensitiveStringComparison.isNotEqualTo(String)
.- Parameters:
unexpected
- Value to be verified against.
-
contains
Fails if the string does not contain the given sequence (while ignoring case). Wrapper overStringSubject.CaseInsensitiveStringComparison.contains(CharSequence)
.- Parameters:
expectedSequence
- Value to be verified against.
-
doesNotContain
Fails if the string contains the given sequence (while ignoring case). Wrapper overStringSubject.CaseInsensitiveStringComparison.doesNotContain(CharSequence)
.- Parameters:
expectedSequence
- Value to be verified against.
-