public void Should_allow_the_addition_of_default_components_at_the_end_of_the_list_via_generic_overload() { var sut = new ServiceComponentList <ITestComponent>(); var registeredFirst = new TestComponentImpl(); var registeredLast = new TestComponentImpl(); sut.Register(registeredFirst); sut.Register(registeredLast); sut.SetDefault <AnotherImpl>(); sut.Last().Should().BeOfType <AnotherImpl>(); }