public void Should_Deactivates() { var biddingRoundOffer = new BiddingRoundOffer(); biddingRoundOffer.Deactive(); biddingRoundOffer.State.ShouldBe(SharedKernal.ObjectState.Modified); biddingRoundOffer.IsActive.ShouldBe(false); }
public void Should_ContructOfferValue() { var biddingRoundOffer = new BiddingRoundOffer(_biddingRoundId, _offerId, _offerValue); biddingRoundOffer.BiddingRoundId.ShouldBe(_biddingRoundId); biddingRoundOffer.OfferId.ShouldBe(_offerId); biddingRoundOffer.OfferValue.ShouldBe(_offerValue); }
public void Should_Update() { var biddingRoundOffer = new BiddingRoundOffer(); biddingRoundOffer.Update(_biddingRoundOfferId, _offerId, _offerValue); biddingRoundOffer.State.ShouldBe(SharedKernal.ObjectState.Modified); biddingRoundOffer.BiddingRoundOfferId.ShouldBe(_biddingRoundOfferId); biddingRoundOffer.OfferId.ShouldBe(_offerId); biddingRoundOffer.OfferValue.ShouldBe(_offerValue); }
public void Should_Empty_Construct_BiddingRoundOffer() { var biddingRoundOffer = new BiddingRoundOffer(); biddingRoundOffer.ShouldNotBeNull(); }