### Question:
MethodParameterTypeMatcher extends ElementMatcher.Junction.AbstractBase<T> { public boolean matches(T target) { return matcher.matches(target.getType()); } MethodParameterTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher); boolean matches(T target); @Override String toString();  }### Answer:
@Test public void testMatch() throws Exception { when(parameterMatcher.matches(typeDescription)).thenReturn(true); assertThat(new MethodParameterTypeMatcher<ParameterDescription>(parameterMatcher).matches(parameterDescription), is(true)); verify(parameterMatcher).matches(typeDescription); verifyNoMoreInteractions(parameterMatcher); }
@Test public void testNoMatch() throws Exception { when(parameterMatcher.matches(typeDescription)).thenReturn(false); assertThat(new MethodParameterTypeMatcher<ParameterDescription>(parameterMatcher).matches(parameterDescription), is(false)); verify(parameterMatcher).matches(typeDescription); verifyNoMoreInteractions(parameterMatcher); }