コード例 #1
0
        public void ChangeGivenName()
        {
            string[] givenNames        = { "given0", "given1", "given2" };
            string[] givenNamesUpdated = { "change0", "Change1" };
            Name     testName          = new Name("lastName", givenNames);

            testName.ChangeGivenNames(givenNames);
            CollectionAssert.AreEqual(testName.GivenNames, givenNames, "Updated Given Names don't Match");
        }