@Test
public void testFindAllSystemNotificationDtosByPatient() {

	SystemNotificationService spy = spy(snst);
	List<SystemNotification> systemNotifications = new ArrayList<SystemNotification>();
	SystemNotification systemNotification = new SystemNotification();
	systemNotifications.add(systemNotification);
	when(systemNotificationRepository.findAllByPatientId(anyLong()))
			.thenReturn(systemNotifications);
	ArrayList<SystemNotificationDto> systemNotificationDtos = new ArrayList<SystemNotificationDto>();
	when(spy.makeSystemNotificationDtos()).thenReturn(
			systemNotificationDtos);
	SystemNotificationDto systemNotificationDto = new SystemNotificationDto();
	when(modelMapper.map(systemNotification, SystemNotificationDto.class))
			.thenReturn(systemNotificationDto);
	systemNotificationDtos.add(systemNotificationDto);
	Assert.assertEquals(
			spy.findAllSystemNotificationDtosByPatient(anyLong()),
			systemNotificationDtos);
}