@Test
public void testUseDataProviderNameConventionShouldReturnTrueIfDatProviderIsUseConvention() {

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