ArtifactModel artifact = artifacts.getArtifact("OrderService");
Assert.assertNotNull("ArtifactModel for OrderService was not read!", artifact);
Assert.assertEquals("OrderService", artifact.getName());
Assert.assertEquals("http://localhost:8080/guvnorsoa/rest/packages/OrderService", artifact.getURL());
// Verify security configuration
SecuritiesModel securities = domain.getSecurities();
Assert.assertEquals(domain, securities.getDomain());
SecurityModel security = securities.getSecurities().iterator().next();
Assert.assertEquals(securities, security.getSecurities());
Assert.assertEquals(Object.class, security.getCallbackHandler(getClass().getClassLoader()));
Assert.assertEquals("theSecurityName", security.getName());
Set<String> rolesAllowed = new LinkedHashSet<String>();
rolesAllowed.add("administrator");