public class IsEqualIgnoringWhiteSpace extends TypeSafeMatcher<String>
| Constructor and Description |
|---|
IsEqualIgnoringWhiteSpace(String string) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(String item,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
static Matcher<String> |
equalToIgnoringWhiteSpace(String string) |
boolean |
matchesSafely(String item)
Subclasses should implement this.
|
String |
stripSpace(String toBeStripped) |
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic IsEqualIgnoringWhiteSpace(String string)
public boolean matchesSafely(String item)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<String>public void describeMismatchSafely(String item, Description mismatchDescription)
TypeSafeMatcherdescribeMismatchSafely in class TypeSafeMatcher<String>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.Copyright © 2016. All rights reserved.