public void プロパティによる値取得(string tag, string expected) { //setUp var sut = new MailInfo(_dfFile); //exercise var actual = sut.GetType().GetProperty(tag).GetValue(sut, null).ToString(); //verify Assert.That(actual, Is.EqualTo(expected)); }