Ah, I understand now. Since your subject-under-test is an IEnumerable<T>, it will use the GenericCollectionAssertions rather than the ObjectAssertions. And that is missing the (Not)BeSameAs(). You can work around that by casting your collection object first.
↧