@Test
public void deleteSubscription() throws Exception {

    when(seyrenRepository.deleteSubscription(TestUtils.DEFAULT_ALARM_ID, TestUtils.DEFAULT_SUBSCRIPTION_ID)).thenReturn(true);
    assertEquals(SubscriptionService.DeletedSubscriptionStatus.OK,
        subscriptionService.deleteSubscription(TestUtils.DEFAULT_ALARM_ID, TestUtils.DEFAULT_SUBSCRIPTION_ID));
    verify(seyrenRepository).deleteSubscription(TestUtils.DEFAULT_ALARM_ID, TestUtils.DEFAULT_SUBSCRIPTION_ID);
    verify(seyrenRepository).getAlarm(TestUtils.DEFAULT_ALARM_ID);
    verifyNoMoreInteractions(seyrenRepository);
}