@Test public void testMatch() throws Exception { Object target = mock(Object.class); assertThat(new BooleanMatcher<Object>(true).matches(target), is(true)); verifyZeroInteractions(target); }
public boolean matches(T target) { return matches; }
BooleanMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return matches; } }
BooleanMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return matches; } BooleanMatcher(boolean matches); }
BooleanMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return matches; } BooleanMatcher(boolean matches); boolean matches(T target); @Override String toString(); }
BooleanMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return matches; } BooleanMatcher(boolean matches); boolean matches(T target); @Override String toString();  }