public void HasData_Test_Negative() { CMdlFile obj = Setup("", out byte[] cont); obj.SetData(cont); bool result = obj.HasData(); Assert.IsFalse(result); }
public void HasData_Test_Positive() { CMdlFile obj = Setup("BINVRSN{\r\n 1\r\n}\r\nFRMERootNode", out byte[] cont); obj.SetData(cont); bool result = obj.HasData(); Assert.IsTrue(result); }