Skip to content

Commit

Permalink
Revert ComponentRegistryTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
DamirAinullin authored May 31, 2020
1 parent b0ca5c7 commit a62b7cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public void WhenNoImplementationsRegistered_RegistrationsForServiceIncludeDynami
registryBuilder.AddRegistrationSource(new ObjectRegistrationSource());
var registry = registryBuilder.Build();

Assert.DoesNotContain(registry.Registrations, r => r.Services.Contains(new TypedService(typeof(object))));
Assert.False(registry.Registrations.Where(
r => r.Services.Contains(new TypedService(typeof(object)))).Any());
Assert.Single(registry.RegistrationsFor(new TypedService(typeof(object))));
}

Expand Down

0 comments on commit a62b7cf

Please sign in to comment.