@Test
public void testSupportsParameter()
{

    boolean supportsParameterTrueCase1 = repositoryMethodArgumentResolver.supportsParameter(getMethodParameter("uploadArtifactWithRepositoryMapping",
                                                                                                               Repository.class));
    assertTrue(supportsParameterTrueCase1);
    boolean supportsParameterTrueCase2 = repositoryMethodArgumentResolver.supportsParameter(getMethodParameter("uploadArtifactWithOutOfServiceRepositoryAllowed",
                                                                                                               Repository.class));
    assertTrue(supportsParameterTrueCase2);
    boolean supportsParameterTrueCase3 = repositoryMethodArgumentResolver.supportsParameter(getMethodParameter("uploadArtifactWithOutOfServiceRepositoryNotAllowed",
                                                                                                               Repository.class));
    assertTrue(supportsParameterTrueCase3);
    boolean supportsParameterFalseCase1 = repositoryMethodArgumentResolver.supportsParameter(getMethodParameter("uploadArtifactWithoutRepositoryMapping",
                                                                                                                Repository.class));
    assertFalse(supportsParameterFalseCase1);
    boolean supportsParameterFalseCase2 = repositoryMethodArgumentResolver.supportsParameter(getMethodParameter("uploadArtifactWithRepositoryMappingAndInvalidRepository",
                                                                                                                RepositoryData.class));
    assertFalse(supportsParameterFalseCase2);
}