public void UseInstanceSinksProvider() { var instance = new object(); _mockSink.Setup(m => m.Sink(It.IsAny <InstanceProvider <object> >())).Verifiable(); _instanceUnderTest.UseInstance(new object()); _mockSink.Verify(m => m.Sink(It.IsAny <InstanceProvider <object> >()), Times.Once); }