@Test public void describesItself() { final Matcher<Object> matcher = hasToString(equalTo(TO_STRING_RESULT)); assertDescription("with toString() \"toString result\"", matcher); }
public HasToString(Matcher<? super String> toStringMatcher) { super(toStringMatcher, "with toString()", "toString()"); }
HasToString extends FeatureMatcher<T, String> { public HasToString(Matcher<? super String> toStringMatcher) { super(toStringMatcher, "with toString()", "toString()"); } }
HasToString extends FeatureMatcher<T, String> { public HasToString(Matcher<? super String> toStringMatcher) { super(toStringMatcher, "with toString()", "toString()"); } HasToString(Matcher<? super String> toStringMatcher); }
HasToString extends FeatureMatcher<T, String> { public HasToString(Matcher<? super String> toStringMatcher) { super(toStringMatcher, "with toString()", "toString()"); } HasToString(Matcher<? super String> toStringMatcher); static Matcher<T> hasToString(Matcher<? super String> toStringMatcher); static Matcher<T> hasToString(String expectedToString); }
HasToString extends FeatureMatcher<T, String> { public HasToString(Matcher<? super String> toStringMatcher) { super(toStringMatcher, "with toString()", "toString()"); } HasToString(Matcher<? super String> toStringMatcher); static Matcher<T> hasToString(Matcher<? super String> toStringMatcher); static Matcher<T> hasToString(String expectedToString);  }