Method GetAllInstances fails after unsuccessful call of GetNamedInstance:
[Test]
public void Object_factory_GetAllInstances_fails()
{
ObjectFactory.ResetDefaults();
ObjectFactory.Initialize(x =>
{
x.ForRequestedType().TheDefault.Is.OfConcreteType().WithName("BarOne");
x.ForRequestedType().TheDefault.Is.OfConcreteType().WithName("BarTwo");
});...
2009-08-06 14:10:23 UTC in StructureMap