public void Should_CreateCancelationRequest() { var tenderChangeRequest = new TenderChangeRequest(); var _rslt = tenderChangeRequest.CreateCancelationRequest(new Tender(), _changeRequestTypeId, _changeRequestStatusId, _requestedById, _cancelationReasonId, _cancelationReasonDescription, _supplierViolatorCRs, _userId); tenderChangeRequest.ShouldNotBeNull(); _rslt.ShouldBeOfType(typeof(TenderChangeRequest)); _rslt.ChangeRequestStatusId.ShouldBe(_changeRequestStatusId); _rslt.ChangeRequestTypeId.ShouldBe(_changeRequestTypeId); _rslt.RequestedByRoleName.ShouldBe(_requestedById); _rslt.CancelationReasonId.ShouldBe(_cancelationReasonId); _rslt.CancelationReasonDescription.ShouldBe(_cancelationReasonDescription); _rslt.State.ShouldBe(SharedKernal.ObjectState.Added); }