RandomProvider extends AbstractDataSourceLoader<double[][], RandomBean> { @Override public RandomBean newBean() { return new RandomBean(); } RandomProvider(); @Override String getDisplayName(); @Override List<DataSet> children(DataSource dataSource); @Override List<DataSet> children(DataSet parent); @Override String getDisplayName(DataSource dataSource); @Override String getDisplayName(DataSet dataSet); @Override String getDisplayNodeName(DataSet dataSet); @Override RandomBean newBean(); @Override DataSource encodeBean(Object bean); @Override RandomBean decodeBean(DataSource dataSource); static final String SOURCE; static final String VERSION; }
@Test public void testCompliance() { IDataSourceLoaderAssert.assertCompliance(RandomProvider::new, o -> o.newBean()); }