import org.junit.runners.model.FrameworkMethod;
import com.tngtech.java.junit.dataprovider.DataProvider;
import com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod;
public class TestGenerator {
private final DataConverter dataConverter;
<BUG>public TestGenerator(DataConverter dataConverter) {
if (dataConverter == null) {
throw new NullPointerException("dataConverter must not be null");
}
this.dataConverter = dataConverter;</BUG>
}

import org.junit.runners.model.FrameworkMethod;
import com.tngtech.java.junit.dataprovider.DataProvider;
import com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod;
public class TestGenerator {
private final DataConverter dataConverter;
public TestGenerator(DataConverter dataConverter) {
this.dataConverter = checkNotNull(dataConverter, "dataConverter must not be null");
}
