// operation
EmbeddedCartridgeTestUtils.ensureHasEmbeddedCartridges(LatestVersionOf.jenkinsClient(), jbossAs);
// verification
new EmbeddedCartridgeAssert(jbossAs.getEmbeddedCartridge(LatestVersionOf.jenkinsClient().get(user)))
.hasUrlProperty();
// verify using user instance that's not the one used to create
IUser user2 = new TestConnectionBuilder().defaultCredentials().disableSSLCertificateChecks().create().getUser();
IApplication user2Application = user2.getDefaultDomain().getApplicationByName(jbossAs.getName());
IEmbeddableCartridge jenkinsClient =
LatestVersionOf.jenkinsClient().get(user2);
new EmbeddedCartridgeAssert(user2Application.getEmbeddedCartridge(jenkinsClient))
.hasUrlProperty();
}