public void setUp() throws Exception {
CDIBeanLocator.beanManager = beanManager;
dataSetManager = DataProviderServices.lookup().getDataSetManager();
dataPoviderType = dataProviderManager.getProviderTypeByUid(CSVDataProviderType.UID);
DataProvider dataProvider = dataProviderManager.createDataProvider();
CSVDataLoader csvDataLoader = (CSVDataLoader) dataPoviderType.createDataLoader();
InputStream dataStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("data.csv");
dataSet = csvDataLoader.load(dataProvider, dataStream);
dataSetManager.registerDataSet(dataProvider, dataSet);