### Question:
MethodSortMatcher extends ElementMatcher.Junction.AbstractBase<T> { @Override public String toString() { return sort.getDescription(); } MethodSortMatcher(Sort sort); boolean matches(T target); @Override String toString();  }### Answer:
@Test public void testStringRepresentation() throws Exception { assertThat(new MethodSortMatcher<MethodDescription>(sort).toString(), is(sort.getDescription())); }