Microsoft.Azure.Commands.Resources.Test.GetAzureProviderFeatureCmdletTests.VerifyListAllCallPatternAndReset C# (CSharp) Method

VerifyListAllCallPatternAndReset() private method

Verifies the right call patterns are made
private VerifyListAllCallPatternAndReset ( ) : void
return void
        private void VerifyListAllCallPatternAndReset()
        {
            this.featureOperationsMock.Verify(f => f.ListAllWithHttpMessagesAsync(null, It.IsAny<CancellationToken>()), Times.Once());
            this.featureOperationsMock.Verify(f => f.ListAllNextWithHttpMessagesAsync(It.IsAny<string>(), null, It.IsAny<CancellationToken>()), Times.Never);
            this.commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny<object>(), It.IsAny<bool>()), Times.Once());

            this.ResetCalls();
        }