@Test
public void testFindAllConsents_Check_if_Repository_is_Called() {

	@SuppressWarnings("unchecked")
	List<Consent> consentList = mock(List.class);
	when(consentRepository.findAll()).thenReturn(consentList);
	cst.findAllConsents();
	verify(consentRepository).findAll();
}