public void IsNotNull_ClassNull() { PropClass obj = null; var validacion = obj.IsNotNull(); Assert.IsFalse(validacion); }
public void IsNotNull_ObjetoClass() { var obj = new PropClass { Prop1 = "abc", Prop2 = 123 }; var validacion = obj.IsNotNull(); Assert.IsTrue(validacion); }