@Test
public void supportsParameterReturnsTrueWhenAnnotationPresent() {

    // given
    given(methodParameterMock.getParameterAnnotation(ProjectionType.class)).willReturn(projectionTypeMock);
    // when / then
    assertThat(argumentResolver.supportsParameter(methodParameterMock)).isTrue();
}