@Test
public void testGetConsentSignedStageWhenConsentIsSigned() {

	Consent consent = mock(Consent.class);
	SignedPDFConsent pdfConsent = mock(SignedPDFConsent.class);
	doReturn("SIGNED").when(pdfConsent).getDocumentSignedStatus();
	doReturn(pdfConsent).when(consent).getSignedPdfConsent();
	doReturn(consent).when(consentRepository).findOne(anyLong());
	assertEquals("CONSENT_SIGNED", cst.getConsentSignedStage((long) 1));
}