// tests first base case of DL Learner
DecisionListLearner learner = new DecisionListLearner("Yes", "No",
new MockDLTestFactory(null));
DataSet ds = DataSetFactory.getRestaurantDataSet();
DataSet empty = ds.emptyDataSet();
learner.train(empty);
Assert.assertEquals("No", learner.predict(ds.getExample(0)));
Assert.assertEquals("No", learner.predict(ds.getExample(1)));
Assert.assertEquals("No", learner.predict(ds.getExample(2)));
}