Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
internal void ReferenceEqual_NotByValue(Fake <object> fake) { fake.Setup( m => m.Equals(Arg.Any <object>()), Behavior.Returns(true, Times.Never)); _testInstance.ReferenceEqual(fake.Dummy, fake.Dummy); Tools.Asserter.Throws <AssertException>( () => _testInstance.ReferenceEqual(fake.Dummy, Tools.Duplicator.Copy(fake.Dummy))); fake.VerifyAll(Times.Never); }