public void GetILogisticsTest_Get郵局() { //arrange string p = "3"; Product product = new Product(); ILogistics expected = new PostOffice(); ILogistics actual; //act actual = SimpleFactory.GetILogistics(p, product); //assert Assert.AreEqual(expected.GetType(), actual.GetType()); }