/*
 * Copyright 2013-2016 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.cloudfoundry.client.v2;

import org.cloudfoundry.AbstractIntegrationTest;
import org.cloudfoundry.client.CloudFoundryClient;
import org.cloudfoundry.client.v2.organizationquotadefinitions.ListOrganizationQuotaDefinitionsRequest;
import org.cloudfoundry.util.PaginationUtils;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public final class OrganizationQuotaDefnitionsTest extends AbstractIntegrationTest {

    @Autowired
    private CloudFoundryClient cloudFoundryClient;

    @Test
    public void list() {

        PaginationUtils.requestResources(page -> this.cloudFoundryClient.organizationQuotaDefinitions()
            .list(ListOrganizationQuotaDefinitionsRequest.builder()
                .page(page)
                .build()))
            .after()
            .subscribe(this.testSubscriber());
    }

}

@@ -902,16 +902,41 @@
 nUtils;%0A
+import org.junit.Ignore;%0A
 import o
@@ -1014,16 +1014,54 @@
 wired;%0A%0A
+import static org.junit.Assert.fail;%0A%0A
 public f
@@ -1205,16 +1205,745 @@
 lient;%0A%0A
+    @Ignore(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527322%22)%0A    @Test%0A    public void create() %7B%0A        fail(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527322%22);%0A    %7D%0A%0A    @Ignore(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527324%22)%0A    @Test%0A    public void delete() %7B%0A        fail(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527324%22);%0A    %7D%0A%0A    @Ignore(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527322%22)%0A    @Test%0A    public void get() %7B%0A        fail(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527322%22);%0A    %7D%0A%0A
     @Tes
@@ -2272,10 +2272,254 @@
 %0A    %7D%0A%0A
+    @Ignore(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527330%22)%0A    @Test%0A    public void update() %7B%0A        fail(%22TODO: finish story https://www.pivotaltracker.com/projects/816799/stories/101527330%22);%0A    %7D%0A%0A
 %7D%0A

Add ignored integration tests into OrganizationQuotaDefinitionsTest