@Test
public void searchNonExistentSubscription() {

    Subscription fakeSub = TestUtils.getDefaultSubscription();
    fakeSub.setToTime("2333");
    fakeSub.setFromTime("0123");
    Subscription s = subscriptionService.searchSubscription(fakeSub, TestUtils.DEFAULT_ALARM_ID);
    assertNull(s);
}