DateTimeAgent extends AbstractAgent { protected String getDate(Date date) { DateFormat format = new SimpleDateFormat("MMMMM dd, yyyy"); return format.format(date); } DateTimeAgent(); @Override AgentResponse process(AgentRequest request);  }
@Test public void testGetDate() { assertEquals("January 01, 2016", agent.getDate(testDate)); }