示例#1
0
        public void should_find_the_correct_type()
        {
            var container = new Container();
            container.Register(typeof(FakeObject));

            container.FindTypeFor(x => x.GetInterfaces().Contains(typeof (IFakeInterface))).ShouldBeTheSameObjectAs(typeof(FakeObject));
        }