assertResourceConfigOK(list);
}
private void assertProfilesOK(Smooks smooks) {
ExecutionContext execContext;
execContext = smooks.createExecutionContext("profileA");
ProfileSet profileA = execContext.getTargetProfiles();
assertTrue(profileA.isMember("profileA"));
assertTrue(profileA.isMember("profile1"));
assertTrue(profileA.isMember("profile2"));
assertTrue(!profileA.isMember("profileB"));
assertTrue(!profileA.isMember("profile3"));
execContext = smooks.createExecutionContext("profileB");
ProfileSet profileB = execContext.getTargetProfiles();
assertTrue(profileB.isMember("profileB"));
assertTrue(profileB.isMember("profile3"));
assertTrue(profileB.isMember("profileA"));
assertTrue(profileB.isMember("profile1"));
assertTrue(profileB.isMember("profile2"));