public void GetServices_WithTypeParameter_IfTheTypeIsConcreteWithParameterlessConstructorAndIfTheTypeIsNotRegistered_ShouldReturnAnEmptyCollection() { TestHelper.ClearStructureMap(); TestHelper.AssertStructureMapIsCleared(); var instances = new ServiceLocator(ObjectFactory.Container).GetServices(typeof(SomeConcreteClassWithParameterlessConstructor)).ToArray(); Assert.IsNotNull(instances); Assert.IsFalse(instances.Any()); }