@Test
public void testExplicitPropertyMappings()
{

    Map<String, String> properties = new ImmutableMap.Builder<String, String>()
            .put("lifecycle.stop-traffic.delay", "4s")
            .build();
    LifeCycleConfig expected = new LifeCycleConfig()
            .setStopTrafficDelay(new Duration(4, TimeUnit.SECONDS));
    assertFullMapping(properties, expected);
}