public void can_locate_a_type_handler() { Func <object> handler = () => new TestService(); container.AddHandler(typeof(ITestService), handler); var found = container.GetHandler(typeof(ITestService)); found.ShouldBe(handler); }