public void GetDeltaResponse_Error_On_Null_Delta()
        {
            //Arrange
            var deltaResponse   = new GetDeltaResponse();
            var commandContext  = TestCommandHelpers.GenerateCliResponseCommandContext(_testScheduler);
            var getDeltaCommand = new GetDeltaCommand(commandContext, _logger);

            //Act
            TestCommandHelpers.GenerateResponse(commandContext, deltaResponse);

            _testScheduler.Start();

            //Assert
            commandContext.UserOutput.Received(1).WriteLine(GetDeltaCommand.UnableToRetrieveDeltaMessage);
        }
        public void GetDeltaResponse_Can_Get_Output()
        {
            //Arrange
            var deltaResponse = new GetDeltaResponse {
                Delta = new Delta()
            };
            var commandContext  = TestCommandHelpers.GenerateCliResponseCommandContext(_testScheduler);
            var getDeltaCommand = new GetDeltaCommand(commandContext, _logger);

            //Act
            TestCommandHelpers.GenerateResponse(commandContext, deltaResponse);

            _testScheduler.Start();

            //Assert
            commandContext.UserOutput.Received(1).WriteLine(deltaResponse.Delta.ToJsonString());
        }