@Test
public void testChangeServerGroupProfileNoChange() throws Exception {
PathAddress pa = PathAddress.pathAddress(PathElement.pathElement(SERVER_GROUP, "group-one"));
final MockOperationContext operationContext = getOperationContext(pa);
final Resource serverConfig = Resource.Factory.create();
serverConfig.getModel().get(PROFILE).set("some-profile");
operationContext.root.registerChild(PathElement.pathElement(SERVER_GROUP, "group-one"), serverConfig);
final Resource profileConfig = Resource.Factory.create();
operationContext.root.registerChild(PathElement.pathElement(PROFILE, "some-profile"), profileConfig);
final ModelNode operation = new ModelNode();
operation.get(OP_ADDR).set(pa.toModelNode());
operation.get(OP).set(WRITE_ATTRIBUTE_OPERATION);