@Test
public void getSubscription() throws Exception {

    Subscription subscription = subscriptionService.getSubscription(TestUtils.DEFAULT_ALARM_ID, TestUtils.DEFAULT_SUBSCRIPTION_ID);
    assertNotNull(subscription);
    assertEquals(TestUtils.DEFAULT_SUBSCRIPTION_ID, subscription.getId());
    assertEquals(TestUtils.DEFAULT_EMAIL, subscription.getTarget());
}