Skip to content

Commit

Permalink
Add back app builder use in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chowarth committed Aug 27, 2024
1 parent 6a44b06 commit a43fcc7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public class ContainerProviderTests(ITestOutputHelper testOutputHelper) : TestBa
[Fact]
public void CanResolveUnamedType()
{
var builder = CreateBuilder(prism => { });
var app = builder.Build();
var containerProvider = new ContainerProvider<ConcreteTypeMock>();

ConcreteTypeMock type = (ConcreteTypeMock)containerProvider;
Expand All @@ -23,6 +25,8 @@ public void CanResolveUnamedType()
[Fact]
public void CanResolvedNamedType()
{
var builder = CreateBuilder(prism => { });
var app = builder.Build();
var containerProvider = new ContainerProvider<ConcreteTypeMock>
{
Name = ConcreteTypeMock.Key
Expand Down

0 comments on commit a43fcc7

Please sign in to comment.