@Test
public void testFindConsentEntries() {

	@SuppressWarnings("unchecked")
	Page<Consent> consentList = mock(Page.class);
	when(
			consentRepository
					.findAll(any(org.springframework.data.domain.PageRequest.class)))
			.thenReturn(consentList);
	Object object = cst.findConsentEntries(0, 5);
	verify(consentRepository).findAll(
			any(org.springframework.data.domain.PageRequest.class));
	assertEquals("java.util.LinkedList", object.getClass().getName());
}