Esempio n. 1
0
        public void op_ToString()
        {
            var expected = string.Empty;
            var actual = new Organization().ToString();

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        public void op_ToString_whenName()
        {
            var obj = new Organization
                          {
                              Name = "Example"
                          };

            const string expected = "Example";
            var actual = obj.ToString();

            Assert.Equal(expected, actual);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
 public PostalAddressFileEntry()
 {
     Address = new BritishAddress();
     Organization = new Organization();
 }