Examples of newGetRequest()


Examples of org.sonar.server.ws.WsTester.newGetRequest()

    char1.setId(parentId).setKey("REUSABILITY").setName("Reusability");
    DefaultDebtCharacteristic char2 = new DefaultDebtCharacteristic();
    char2.setId(24).setParentId(parentId).setKey("MODULARITY").setName("Modularity");
    when(debtModel.allCharacteristics()).thenReturn(ImmutableList.<DebtCharacteristic>of(char1, char2));

    tester.newGetRequest("api/rules", "app").execute().assertJson(this.getClass(), "app.json");
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.