public void It_should_be_registered(ExpectedRegistration registration) { // Act _sut.CorrelateRequests(); // Assert _services.Should().BeRegistered(registration); }
public void It_should_resolve(ExpectedRegistration registration) { // Act _sut.CorrelateRequests(); IServiceProvider actual = _services.BuildServiceProvider(); // Assert actual.Should().Resolve(registration.ServiceType); }
public void It_should_be_registered(ExpectedRegistration registration) { _services.Should().BeRegistered(registration); }
public void It_should_resolve(ExpectedRegistration registration) { _sut.Should().Resolve(registration.ServiceType); }