public void AddComponentInstance_CanBeRetrieved() { InstancedComponent component = new InstancedComponent(); container.Kernel.AddComponentInstance("InstancedComponent", typeof(InstancedComponent), component); Assert.AreEqual(component, container.Get <InstancedComponent>()); }
public void AddComponentInstance_CanBeRetrieved() { InstancedComponent component = new InstancedComponent(); container.Kernel.AddComponentInstance("InstancedComponent", typeof(InstancedComponent), component); Assert.AreEqual(component, container.Get<InstancedComponent>()); }