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