	@Test
	public void testCDABuilderNonEmptyResult() {

		Patient patient = createPatient();
		DocumentEntry de = documentEntryBuilder.createDocumentEntry(
				new CoalaAuthor("testName", "testName", "testName"), patient,
				PatientConsentPolicy.ONE, new Date(), new Date());

		String cdaResult = cdaBuilder.createConsentCDA(patient,
				PatientConsentPolicy.ONE, de);
		assertNotNull(cdaResult);
		assertTrue(!cdaResult.trim().isEmpty());
		LOG.info("CDA result: " + cdaResult);
	}