@Test
public void testResolution() {

  Assert.assertEquals(TimeResolver.resolveExpression("30s"), Long.valueOf(30));
  Assert.assertEquals(TimeResolver.resolveExpression("180s"), Long.valueOf(180));
  Assert.assertEquals(TimeResolver.resolveExpression("1m"), Long.valueOf(60));
  Assert.assertEquals(TimeResolver.resolveExpression("10m"), Long.valueOf(600));
  Assert.assertEquals(TimeResolver.resolveExpression("2h"), Long.valueOf(7200));
}