@Test
public void testUseDataProviderNameConventionShouldReturnFalseIfDataProviderNameIsSet() {

    // Given:
    final String dataProviderName = "dataProviderName";
    DataProviderResolverContext underTest = new DataProviderResolverContext(testMethod, resolverClasses,
            resolveStrategy, locations, dataProviderAnnotationClass, dataProviderName);
    // When:
    boolean result = underTest.useDataProviderNameConvention();
    // Then:
    assertThat(result).isFalse();
}