Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public DependenciesTests()
- {
- _configuration = new HttpConfiguration();
- _configuration.ConfigureDependencies();
- }
- [Fact]
- public void Configuration_Is_Valid()
- {
- _configuration.ValidateConfiguration();
- }
- public static void ValidateConfiguration(this HttpConfiguration config)
- {
- var container = config.GetDryIocContainer();
- var errors = container.VerifyResolutions();
- errors.Should().BeEmpty();
- }
- //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement