Exemplo n.º 1
0
        public void SetUp()
        {
            var identifier = new ConcreteMixinTypeIdentifier(typeof(object), new HashSet <MethodInfo> (), new HashSet <MethodInfo> ());

            _nonPublicMethod          = ReflectionObjectMother.GetSomeNonPublicMethod();
            _publicMethod             = ReflectionObjectMother.GetSomePublicMethod();
            _wrapperOrInterfaceMethod = ReflectionObjectMother.GetSomeMethod();
            _concreteMixinType        = new ConcreteMixinType(
                identifier,
                typeof(object),
                typeof(IServiceProvider),
                new Dictionary <MethodInfo, MethodInfo> {
                { _nonPublicMethod, _wrapperOrInterfaceMethod }
            },
                new Dictionary <MethodInfo, MethodInfo> {
                { _nonPublicMethod, _wrapperOrInterfaceMethod }
            });
        }