@Test
public void testFormatDurationUnrounded() throws Exception
{

   long tenMinMillis = java.util.concurrent.TimeUnit.MINUTES.toMillis(10) + 1000 * 40;
   Date tenMinAgo = new Date(System.currentTimeMillis() - tenMinMillis);
   PrettyTime t = new PrettyTime();
   String result = t.formatDurationUnrounded(tenMinAgo);
   Assert.assertTrue(result.equals("10 minutes"));
}