@UseDataProvider("supportedAnnotations")
@Test
public void returnsCorrectImplementationOfParameterResolverForInputAnnotation(Annotation annotation,
                                                                              Class<? extends ParameterResolver> expectedClassOfParameterResolver) {

    ParameterResolver parameterResolver = parameterResolverFactory.createParameterResolver(annotation);
    assertNotNull(parameterResolver);
    assertEquals(expectedClassOfParameterResolver, parameterResolver.getClass());
}