public void RemoteStrで取得したテキストで改めてLocalAddressを生成して同じかどうかを確認() { //setUp var localAddress = LocalAddress.GetInstance(); var expected = localAddress.RemoteStr(); //exercise var sut = new LocalAddress(expected); var actual = sut.RemoteStr(); //verify Assert.That(actual, Is.EqualTo(expected)); }