### Question:
DeciderFactory { public List<Decider> buildDeciders() { return New.list(new OneDayMultipleTimesDecider(), new CompositeDateTimeDecider(), new DateTimeDecider(), new DateDecider(), new TimeDecider()); } private  DeciderFactory(); static DeciderFactory getInstance(); List<Decider> buildDeciders();  }### Answer:
@Test public void testBuildDeciders() { List<Decider> deciders = DeciderFactory.getInstance().buildDeciders(); assertEquals(5, deciders.size()); assertTrue(deciders.get(0) instanceof OneDayMultipleTimesDecider); assertTrue(deciders.get(1) instanceof CompositeDateTimeDecider); assertTrue(deciders.get(2) instanceof DateTimeDecider); assertTrue(deciders.get(3) instanceof DateDecider); assertTrue(deciders.get(4) instanceof TimeDecider); }