@Test
public void testMapNewSetNullFromToTimeToDefaultValues() throws Exception {

    Subscription s = this.defaultSubscription;
    s.setFromTime(null);
    s.setToTime(null);
    s = subscriptionMapper.mapNewSubscriptionFormToSeyren(s);
    assertEquals(SubscriptionMapper.DEFAULT_FROM_TIME, s.getFromTime());
    assertEquals(SubscriptionMapper.DEFAULT_TO_TIME, s.getToTime());
}