public void op_ToString() { var expected = string.Empty; var actual = new Organization().ToString(); Assert.Equal(expected, actual); }
public void op_ToString_whenName() { var obj = new Organization { Name = "Example" }; const string expected = "Example"; var actual = obj.ToString(); Assert.Equal(expected, actual); }
public void op_ToString_whenDepartment() { var obj = new Organization { Department = "Accounts" }; var expected = "{0}Accounts".FormatWith(Environment.NewLine); var actual = obj.ToString(); Assert.Equal(expected, actual); }
public PostalAddressFileEntry() { Address = new BritishAddress(); Organization = new Organization(); }