@Before
  public void setUp() throws Exception {
    final WebServer webServer = webServerRule.getWebServer();
    client = new RestfulClient(webServer.getBase());

    resource = client.getVersionResource();
  }
  @Before
  public void setUp() throws Exception {
    client = webServerRule.getClient();

    resource = client.getDomainServiceResource();
  }
 @Before
 public void setUp() throws Exception {
   client = webServerRule.getClient();
 }
 @Before
 public void setUp() throws Exception {
   client = webServerRule.getClient();
   request = client.createRequest(RestfulHttpMethod.GET, "services");
 }
 /** Tests change state, so discard such that will be recreated by next test. */
 @After
 public void tearDown() throws Exception {
   webServerRule.discardWebApp();
 }