UrlEncodedFormEntityWriter implements EntityWriter { public int getContentLength(Request request) { return -1; }  String getContentType(Request request); int getContentLength(Request request); void writeTo(Request request, OutputStream out);  }
@Test public void getContentLengthShouldReturnMinusOne(){ assertEquals(-1, toTest.getContentLength(null)); }