### Question:
GeoTemplate extends AbstractTwitterOperations implements GeoOperations { public Place createPlace(PlacePrototype placePrototype) { requireUserAuthorization(); MultiValueMap<String, String> request = buildPlaceParameters(placePrototype.getLatitude(), placePrototype.getLongitude(), placePrototype.getName(), placePrototype.getStreetAddress(), placePrototype.getContainedWithin()); request.set("token", placePrototype.getCreateToken()); return restTemplate.postForObject("https: } GeoTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser, boolean isAuthorizedForApp); Place getPlace(String placeId); List<Place> reverseGeoCode(double latitude, double longitude); List<Place> reverseGeoCode(double latitude, double longitude, PlaceType granularity, String accuracy); List<Place> search(double latitude, double longitude); List<Place> search(double latitude, double longitude, PlaceType granularity, String accuracy, String query); SimilarPlaces findSimilarPlaces(double latitude, double longitude, String name); SimilarPlaces findSimilarPlaces(double latitude, double longitude, String name, String streetAddress, String containedWithin); Place createPlace(PlacePrototype placePrototype);  }### Answer:
@Test public void createPlace() { mockServer.expect(requestTo("https: .andExpect(method(POST)) .andExpect(content().string("lat=33.153661&long=-94.973045&name=Restaurant+Mexico&attribute%3Astreet_address=301+W+Ferguson+Rd&contained_within=2e056b6d9c0ff3cd&token=0b699bfda6514e84c7b69cf993c0c23e")) .andRespond(withSuccess(jsonResource("geo-place"), APPLICATION_JSON)); PlacePrototype placePrototype = new PlacePrototype("0b699bfda6514e84c7b69cf993c0c23e", 33.153661, -94.973045, "Restaurant Mexico", "301 W Ferguson Rd", "2e056b6d9c0ff3cd"); Place place = twitter.geoOperations().createPlace(placePrototype); assertPlace(place); mockServer.verify(); }