@Test
public void getNonExistentSubscription() {

    Subscription subscription = null;
    try {
        subscription = subscriptionService.getSubscription(TestUtils.DEFAULT_ALARM_ID, "0000000000000");
        fail("Update non existent subscription should throw an exception");
    } catch (CerebroException e) {
        assertNull(subscription);
        assertEquals(ErrorCode.SUBSCRIPTION_UNKNOWN, e.getErrorCode());
    }
}