public void Status() { var p = new PhoneOrderEntity(); const PhoneOrderEntity.ApprovalStatus initialValue = PhoneOrderEntity.ApprovalStatus.Open; p.Status = initialValue; Assert.AreEqual(initialValue, p.Status); }
public void SetOrderStatus() { PhoneOrderEntity orderInstance; var factory = new PhoneOrderEntityFactory(); const PhoneOrderEntity.ApprovalStatus status = PhoneOrderEntity.ApprovalStatus.Open; factory.SetStatus(status); orderInstance = factory.GetInstance(); Assert.AreEqual(status, orderInstance.Status); }
public void SetStatus(PhoneOrderEntity.ApprovalStatus status) { phoneOrderEntity.Status = status; }