source: class PrettyTimeTest {
  
      SimpleDateFormat format;
     private Locale locale;
  
     @Test
     public void testMinutesFromNowDefaultReference() throws Exception
     {
  
target:       PrettyTime t = new PrettyTime();
        Assert.assertEquals("12 minutes from now", t.format(new Date(System.currentTimeMillis() + 1000 * 60 * 12)));
     }
  
  }