package jetbrains.mps.propertiesTest; /*Generated by MPS */ import junit.framework.TestCase; import junit.framework.Assert; public class PropertiesTest_Test extends TestCase { public void test_properties() throws Exception { TestClass testClass = new TestClass(1); Assert.assertEquals(1, testClass.getProp1()); Assert.assertEquals(1, testClass.getProp2()); Assert.assertEquals(1, testClass.getProp3()); Assert.assertEquals(1, testClass.getProp4()); testClass.changeValueUsingNestedClass(2); Assert.assertEquals(2, testClass.getProp1()); Assert.assertEquals(2, testClass.getProp2()); Assert.assertEquals(2, testClass.getProp3()); Assert.assertEquals(1, testClass.getProp4()); } public PropertiesTest_Test() { } }