public void Instance_Implement_Interface_IAdditionalRegionInfo() { //Arrange var type = typeof(IAdditionalRegionInfo); //Act var someExpandingInformationAboutRegion = new SomeExpandingInformationAboutRegion(); //Assert Assert.IsInstanceOf(type, someExpandingInformationAboutRegion); }
public void Instance_Is_OwnerCreatorIdAndCreator() { //Arrange var type = typeof(OwnerCreatorIdAndCreator); //Act var someExpandingInformationAboutRegion = new SomeExpandingInformationAboutRegion(); //Assert Assert.IsInstanceOf(type, someExpandingInformationAboutRegion); }
public void Region_Get_Set() { //Arrange var region = new Region(); var someExpandingInformationAboutRegion = new SomeExpandingInformationAboutRegion() { Region = region }; //Act var result = someExpandingInformationAboutRegion.Region; //Assert Assert.AreSame(result, region); }
public void Code_Get_Set() { //Arrange const string code = "AF"; var someExpandingInformationAboutRegion = new SomeExpandingInformationAboutRegion() { Code = code }; //Act var result = someExpandingInformationAboutRegion.Code; //Assert Assert.IsTrue(result == code); }