public void Test_BtsWithTownIdContainer() { var excelContainer = new BtsExcelWithTownIdContainer { TownId = 33, BtsExcel = new BtsExcel { Address = "abc", Name = "def" } }; var container = excelContainer.MapTo <BtsWithTownIdContainer>(); container.TownId.ShouldBe(33); container.CdmaBts.Address.ShouldBe("abc"); container.CdmaBts.Name.ShouldBe("def"); }
public void Test_BtsWithTownIdContainer() { var excelContainer = new BtsExcelWithTownIdContainer { TownId = 33, BtsExcel = new BtsExcel { Address = "abc", Name = "def" } }; var container = excelContainer.MapTo<BtsWithTownIdContainer>(); container.TownId.ShouldBe(33); container.CdmaBts.Address.ShouldBe("abc"); container.CdmaBts.Name.ShouldBe("def"); }