Exemplo n.º 1
0
        public void Resolve_property_for_already_resolved_instance()
        {
            var container = new Container().WithMefAttributedModel();

            container.RegisterExports(typeof(Service));

            var client = new PropertyClient();

            container.InjectPropertiesAndFields(client);

            Assert.That(client.Some, Is.InstanceOf <Service>());
        }