public void testDecoratorPropertyCache() {
assertTrue("decorator one - property one, expected true", this.one.hasGetterFor("one"));
assertTrue("decorator one - property one, expected true", this.one.hasGetterFor("one.something"));
assertTrue("decorator two - property two, expected true", this.two.hasGetterFor("two"));
assertFalse("decorator one - property two, expected false", this.one.hasGetterFor("two"));
assertFalse("decorator two - property one, expected false", this.two.hasGetterFor("one"));
}
test that property list is not shared between decorators. (testcase for [840011]) |