public void Should_Construct_AnnouncementCountrySupplierTemplate() { var announcementCountryId = 1; var announcementCountrySupplierTemplate = new AnnouncementCountrySupplierTemplate(announcementCountryId); announcementCountrySupplierTemplate.ShouldNotBeNull(); announcementCountrySupplierTemplate.CountryId.ShouldBe(announcementCountryId); }
public void Should_Delete_AnnouncementCountrySupplierTemplate() { var announcementCountryId = 1; var announcementCountrySupplierTemplate = new AnnouncementCountrySupplierTemplate(announcementCountryId); announcementCountrySupplierTemplate.Delete(); announcementCountrySupplierTemplate.ShouldNotBeNull(); announcementCountrySupplierTemplate.State.ShouldBe(ObjectState.Deleted); }
public void Should_SetActive_AnnouncementCountrySupplierTemplate() { var announcementCountryId = 1; var announcementCountrySupplierTemplate = new AnnouncementCountrySupplierTemplate(announcementCountryId); announcementCountrySupplierTemplate.SetActive(); announcementCountrySupplierTemplate.ShouldNotBeNull(); announcementCountrySupplierTemplate.IsActive.ShouldBe(true); }
public void Should_Empty_Construct_AnnouncementCountrySupplierTemplate() { var announcementCountrySupplierTemplate = new AnnouncementCountrySupplierTemplate(); announcementCountrySupplierTemplate.ShouldNotBeNull(); announcementCountrySupplierTemplate.Id.ShouldBe(0); announcementCountrySupplierTemplate.Country.ShouldBeNull(); announcementCountrySupplierTemplate.AnnouncementId.ShouldBe(0); announcementCountrySupplierTemplate.Announcement.ShouldBeNull(); }