200, "OK")); StringEntity entity = null; try { entity = new StringEntity(httpResponseBody); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } httpResponse.setEntity(entity); return this; } public PersitingActorTestCase<T> whenReceived() { actor.onResponseReceived(httpResponse); return this; } public void inserts(List<Pair<Uri, ContentValues>> values) { assertEquals(values.size(), resolver.operations.size()); int i = 0; for (ContentProviderOperation op : resolver.operations) {