Package com.couchace.core.api.request

Examples of com.couchace.core.api.request.PutEntityRequest


        removeLineSeparators(json),
        removeLineSeparators(LOCATION_JSON_POST));
  }

  public void createLocationForPut() {
    PutEntityRequest request = new PutEntityRequest(null, location.getId(), "location", location, location.getRevision());
    String json = strategy.createJsonForPut(request);

    Assert.assertEquals(
        removeLineSeparators(json),
        removeLineSeparators(LOCATION_JSON_PUT));
View Full Code Here


        removeLineSeparators(json),
        removeLineSeparators(CITY_JSON_POST));
  }

  public void createCityForPut() {
    PutEntityRequest request = new PutEntityRequest(null, city.getId(), "city", city, city.getRevision());
    String json = strategy.createJsonForPut(request);

    Assert.assertEquals(
        removeLineSeparators(json),
        removeLineSeparators(CITY_JSON_PUT));
View Full Code Here

TOP

Related Classes of com.couchace.core.api.request.PutEntityRequest

Copyright © 2018 www.massapicom. 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.