public static TImplementation AssertRegisteredTransient <TInterface, TImplementation>(this IServiceProvider provider) => (TImplementation)provider.AssertRegisteredTransient(typeof(TInterface), typeof(TImplementation));
public void ShouldRegisterTransientTypes(Type interfaceType, Type implementationType) { _provider.AssertRegisteredTransient(interfaceType, implementationType); }