public static IFixture RegisterAsync <T>(this IFixture fixture, T instance) where T : IAsyncLifetime { AsyncContext.Add(instance); fixture.Inject(instance); return(fixture); }
public void Customize(IFixture fixture) { AsyncContext.Init(); fixture.Behaviors.Add(new AsyncTransformation()); }