public void GivenDeleteApiProxyRevision_WhenFound_ThenSuccess()
        {
            // Arrange
            var fixture = new ApigeeAliasesFixture(this.output);

            ApigeeAliases.ApigeeProxyManagementService = fixture.ApigeeProxyManagementService;

            fixture.UseSuccessfulGetApiProxyResponse();

            // Act
            ApigeeAliases.DeleteApiProxyRevision(fixture.ContextMock.Object, "org", "proxy", "123");
        }
        public void GivenGetApiProxy_WhenProxyReturned_ThenRevisionsAvailable()
        {
            // Arrange
            var fixture = new ApigeeAliasesFixture(this.output);

            ApigeeAliases.ApigeeProxyManagementService = fixture.ApigeeProxyManagementService;

            fixture.UseSuccessfulGetApiProxyResponse();

            // Act
            var proxy = ApigeeAliases.GetApiProxy(fixture.ContextMock.Object, "org", "proxy");

            // Assert
            Assert.Equal(9, proxy.Revision.Count());
        }