public void ConfigurablePopulationTest() { var rf = new ConfigurableRecordFinder(new DummyDatabase()); var names = new[] { "alpha", "gamma" }; int tp = rf.GetTotalPopulation(names); Assert.That(tp, Is.EqualTo(4)); }
public void DependantTotalPopulationTest() { var db = new DummyDatabase(); var rf = new ConfigurableRecordFinder(db); Assert.That( rf.GetTotalPopulation(new[] { "alpha", "gamma" }), Is.EqualTo(4)); }