@Test
public void testExportConsent2XACML_Object_ConsentGenException()
		throws ConsentGenException {

	// Arrange
	thrown.expect(ConsentGenException.class);
	Consent consent = mock(Consent.class);
	when(consentBuilderMock.buildConsent2Xacml(consent)).thenThrow(
			new ConsentGenException("Error in export consent to cdar2"));
	// Act
	sut.exportConsent2XACML(consent);
	// Assert
}