@Test
public void testFindDataProviderMethodShouldReturnListContainingDataProviderMethodHavingDataPrefixInsteadOfTestIfItExists() {

    // Given:
    final String testMethodName = "testMethodName";
    final String dataProviderMethodName = "dataMethodName";
    when(testClass.getAnnotatedMethods(DataProvider.class)).thenReturn(singletonList(dataProviderMethod));
    when(dataProviderMethod.getName()).thenReturn(dataProviderMethodName);
    // When:
    FrameworkMethod result = underTest.findDataProviderMethod(testClass, testMethodName, UseDataProvider.DEFAULT_VALUE);
    // Then:
    assertThat(result).isEqualTo(dataProviderMethod);
}