@Test
public void updateAlarm() throws Exception {

    Alarm alarm = TestUtils.getDefaultAlarm();
    alarm.setTarget("totoSayHello");
    Alarm updatedAlarm = alarmService.updateAlarm(alarm);
    assertNotNull(updatedAlarm);
    verify(seyrenRepository).updateAlarm(alarm);
}