import com.tngtech.java.junit.dataprovider.DataProvider;
import com.tngtech.java.junit.dataprovider.DataProviderMethodResolver;
import com.tngtech.java.junit.dataprovider.UseDataProvider;
public class DefaultDataProviderMethodResolver implements DataProviderMethodResolver {
@Override
<BUG>public List<FrameworkMethod> resolve(FrameworkMethod testMethod, UseDataProvider useDataProvider) {
if (testMethod == null) {
throw new IllegalArgumentException("testMethod must not be null");
}
if (useDataProvider == null) {
throw new IllegalArgumentException("useDataProvider must not be null");
}</BUG>
List<TestClass> dataProviderLocations = findDataProviderLocations(testMethod, useDataProvider.location());

import com.tngtech.java.junit.dataprovider.DataProvider;
import com.tngtech.java.junit.dataprovider.DataProviderMethodResolver;
import com.tngtech.java.junit.dataprovider.UseDataProvider;
public class DefaultDataProviderMethodResolver implements DataProviderMethodResolver {
@Override
public List<FrameworkMethod> resolve(FrameworkMethod testMethod, UseDataProvider useDataProvider) {
checkNotNull(testMethod, "testMethod must not be null");
checkNotNull(useDataProvider, "useDataProvider must not be null");
List<TestClass> dataProviderLocations = findDataProviderLocations(testMethod, useDataProvider.location());
