{
String VARNAME = "aVarName";
Domain domain = createDomain("src", 0, VARNAME, null);
String value = new String("aValue");
Arguments args = new ArrayArguments();
args.add(value);
contextImpl.setArguments(args);
// Try to get the value
Object res = domain.getPropertyValue(null, context); // Surrounding rule is not set
assertEquals("property value", value, res);
// Try to set the value
Object newValue = new String("aNewValue");
domain.setPropertyValue(null, newValue, context); // Surrounding rule is not set
res = domain.getPropertyValue(null, context); // Surrounding rule is not set
assertEquals("property value", newValue, res);
assertEquals("arguments out value", newValue, args.get(0));
}