public ListApiResourcesCommandTest() { this._console = A.Fake <IConsole>(); this._apiResourceRepository = A.Fake <IApiResourceRepository>(); var listApiResourceCmd = new ListApiResourcesCommand(this._console, this._apiResourceRepository); this._commandLineApp = CommandLineApplicationUtils.CreateCommandLineApplication( CommandName, SubCommandName, listApiResourceCmd ); }
public NewClientCommandTest() { this._console = A.Fake <IConsole>(); this._clientRepository = A.Fake <IClientRepository>(); var newClientCmd = new NewClientCommand(this._console, this._clientRepository); this._commandLineApp = CommandLineApplicationUtils.CreateCommandLineApplication( CommandName, SubCommandName, newClientCmd ); }
public NewIdentityResourceCommandTest() { this._console = A.Fake <IConsole>(); this._identityResourceRepository = A.Fake <IIdentityResourceRepository>(); var newIdentityResourceCmd = new NewIdentityResourceCommand(this._console, this._identityResourceRepository); this._commandLineApp = CommandLineApplicationUtils.CreateCommandLineApplication( CommandName, SubCommandName, newIdentityResourceCmd ); }