public async Task AllDependenciesRegistered() { await AppTest.ArrangeAndRun( Command.Name, app => { app.Services.AddSingleton <Service>(); }, output => { output .AssertLength(1) .AssertService(); }); }