public void NotSame_ObjectsToStringed()
        {
            FakeObject expected = new FakeObject("foo");
            FakeObject actual = new FakeObject("bar");

            string result = DefaultFailureMessageFormatter.Instance.NotSame(expected, actual);

            Assert.AreEqual(ActualExpression + Environment.NewLine
                 + "should be instance " + ExpectedExpression + Environment.NewLine
                 + "                   <foo>" + Environment.NewLine
                 + "but was            <bar>", result);
        }
        public void ItemsNotSame_ToStringsItemsAtFirstDifference()
        {
            FakeObject same = new FakeObject("foo");

            string result = DefaultFailureMessageFormatter.Instance.ItemsNotSame(new[] { same, new FakeObject("bar") }, new[] { same, new FakeObject("baz") });

            Assert.AreEqual(ActualExpression + Environment.NewLine
                + "differs at index 1." + Environment.NewLine
                + "should be instance <bar>" + Environment.NewLine
                + "but was            <baz>", result);
        }