void () { doTest("class X {" + " int one, two;" + " X(X x) {" + " setOne(x.getOne());" + " setTwo(x.getTwo());" + " }" + " int getOne() { return one; }" + " void setOne(int one) { this.one = one; }" + " int getTwo() { return two; }" + " void setTwo(int two) { this.two = two; }" + "}"); }