public void ItShouldResolveInterface2() { // Act IInterface2 actual = _container.GetService <IInterface2>(); // Assert actual .Should() .NotBeNull() .And.BeOfType <ConcreteDerivedClass>(); }