Esempio n. 1
0
        public void Should_Constructor_SetValues()
        {
            var rejectionHistory = new RejectionHistory(_reuestId, _requestsRejectionTypeId, _statusId, _rejectionReason);

            rejectionHistory.ShouldNotBeNull();
            rejectionHistory.ReuestId.ShouldBe(_reuestId);
            rejectionHistory.RequestsRejectionTypeId.ShouldBe(_requestsRejectionTypeId);
            rejectionHistory.StatusId.ShouldBe(_statusId);
            rejectionHistory.RejectionReason.ShouldBe(_rejectionReason);
            rejectionHistory.State.ShouldBe(SharedKernal.ObjectState.Added);
        }
Esempio n. 2
0
        public void Should_Empty_Construct_rejectionHistory()
        {
            var rejectionHistory = new RejectionHistory();

            rejectionHistory.ShouldNotBeNull();
        }