public void Should_SetAddedState() { TenderCountry tenderCountry = new TenderCountry(CountryId); tenderCountry.SetAddedState(); Assert.Equal(0, tenderCountry.Id); }
public void Should_SetActive() { TenderCountry tenderCountry = new TenderCountry(CountryId); tenderCountry.SetActive(); Assert.True(tenderCountry.IsActive); }
public void Should_Deactive() { TenderCountry tenderCountry = new TenderCountry(CountryId); tenderCountry.DeActive(); Assert.False(tenderCountry.IsActive); }
public void Should_Delete() { TenderCountry tenderCountry = new TenderCountry(CountryId); tenderCountry.Delete(); Assert.Equal(ObjectState.Deleted, tenderCountry.State); }
public void Should_Update() { TenderCountry tenderCountry = new TenderCountry(CountryId); tenderCountry.Update(); tenderCountry.ShouldNotBeNull(); }
public void Should_Construct_TenderConstructionWork() { TenderCountry tenderCountry = new TenderCountry(CountryId); _ = new TenderCountry(); _ = tenderCountry.Country; _ = tenderCountry.TenderId; _ = tenderCountry.Tender; tenderCountry.ShouldNotBeNull(); }