public void Resolve_Test() { var t = new Test(); _globalContext.Resolve <Test>().Returns(t); _globalContext.ClearReceivedCalls(); var t2 = _instance.Resolve <Test>(); Assert.AreSame(t, t2); _globalContext.Received(1).Resolve <Test>(); }