@Test
public void testFindDataProviderMethodsShouldReturnEmptyListIfSingleResolverReturnsEmptyList() {

    // Given:
    @SuppressWarnings("unchecked")
    List<Class<? extends DataProviderMethodResolver>> resolverClasses =
            Collections.<Class<? extends DataProviderMethodResolver>>singletonList(TestResolver.class);
    when(context.getResolverClasses()).thenReturn(resolverClasses);
    TestResolver.methods = emptyList();
    // When:
    List<Method> result = DataProviderMethodResolverHelper.findDataProviderMethods(context);
    // Then:
    assertThat(result).isEmpty();
    assertThat(TestResolver.usedContexts).containsOnly(context);
}