assertEquals(0, dataStorage.getAbstractFactories().size());
}
public void testNewFactories() throws Exception {
List<Factory<?>> factories = new ArrayList<>();
factories.add(new NormalDistributionFactory());
for (int i = 0; i < TRIALS; i++) {
FactoryDataSynchronizer.addNewFactories(factories, dataStorage);
assertEquals(1, dataStorage.getFactories().size());
}
}