public static void test_setter_only() { var obj = new Dummy.TestObject(); int val = -1984; obj.SetterOnly = val; Test.AssertEquals(val, obj.GetSetterOnly()); }