public void ValidateSecurityCode() { var testclass = new PaymentDetail(); // testclass.SecurityCode = "234"; var actual = testclass.ValidateSecurityCode(); var expected = true; Assert.Equal(expected, actual); }