private ProcessPropertyInjection_ShouldBeAbleToAssignLoggerToProperty ( ) : void | ||
return | void |
public void ProcessPropertyInjection_ShouldBeAbleToAssignLoggerToProperty()
{
var logger = new FakeLogger();
IEnumerable<PropertyInjectionDependencyRequirement> result = DefaultIoCRegistrations.ProcessPropertyInjection(GetType().Assembly);
result.First().PropertyInjectionAssignment(logger);
Assert.AreSame(logger, AutoRegisterWithIoCProcessorPropertyInjectionTestSource.Logger);
}