src/test/java/ch/ahdis/validation/CapabilityStatementTests.java
@Test
	public void testCapabilityStatementDynamicity() throws Exception {
		PackageInstallationSpec packageSpec = new PackageInstallationSpec()
			.setPackageUrl("http://fhir.ch/ig/ch-epr-ppqm/package.tgz")
			.setName("ch.fhir.ig.ch-epr-ppqm")
			.setVersion("0.2.0")
			.setInstallMode(PackageInstallationSpec.InstallModeEnum.STORE_AND_INSTALL);

		assertProfileCount(0);

		packageInstallerSvc.install(packageSpec);
		Thread.sleep(2000L);

		assertProfileCount(1);
	}
/**
	 * Test that run-time loading of Implementation Guides
	 * accordingly updates the CapabilityStatement.
	 * See <a href="https://github.com/ahdis/matchbox/issues/43">issue 43</a>.
	 */
Test that run-time loading of Implementation Guides
accordingly updates the CapabilityStatement.
See issue 43.
Test that run - time loading of Implementation Guides accordingly updates the CapabilityStatement . See issue 43 .
@Test
	public void testCapabilityStatementDynamicity() throws Exception {
		PackageInstallationSpec packageSpec = new PackageInstallationSpec()
			.setPackageUrl("http://fhir.ch/ig/ch-epr-ppqm/package.tgz")
			.setName("ch.fhir.ig.ch-epr-ppqm")
			.setVersion("0.2.0")
			.setInstallMode(PackageInstallationSpec.InstallModeEnum.STORE_AND_INSTALL);
		assertProfileCount(0);
		packageInstallerSvc.install(packageSpec);
		Thread.sleep(2000L);
		assertProfileCount(1);
	}
@ Test public void testCapabilityStatementDynamicity ( ) throws Exception { PackageInstallationSpec packageSpec = new PackageInstallationSpec ( ) . setPackageUrl ( "http://fhir.ch/ig/ch-epr-ppqm/package.tgz" ) . setName ( "ch.fhir.ig.ch-epr-ppqm" ) . setVersion ( "0.2.0" ) . setInstallMode ( PackageInstallationSpec . InstallModeEnum . STORE_AND_INSTALL ) ; assertProfileCount ( 0 ) ; packageInstallerSvc . install ( packageSpec ) ; Thread . sleep ( 2000L ) ; assertProfileCount ( 1 ) ; }
Test that run-time loading of Implementation Guides
 accordingly updates the CapabilityStatement.
Test that run - time loading of Implementation Guides accordingly updates the CapabilityStatement .