public void A_ClassesCanHaveGetters() { // Classes can can have properties with just a getter. ClassWithGet obj = new ClassWithGet(); // This class only has a get for A, so this would be illegal: //obj.A = 5; Assert.AreEqual(FILL_ME_IN, obj.A); }
public void A_ClassesCanHaveGetters() { // Classes can can have properties with just a getter. ClassWithGet obj = new ClassWithGet(); // This class only has a get for A, so this would be illegal: //obj.A = 5; Assert.Equal(FILL_ME_IN, obj.A); }