public void toString() { string actual = AppDomain.CurrentDomain.ToString(); string expected = "Name:" + AppDomain.CurrentDomain.FriendlyName + Environment.NewLine + "There are no context policies."; Assert.Equal(expected, actual); }