code: @SuppressWarnings("unchecked")
  	private <T> T createMockResultOfCall() throws IOException {
  		final Object result;
  		final String request = url.toString();
  		if (!request.contains(HttpParameter.PART.getName() + '=')
  				&& !request.contains(HttpParameter.JMX_VALUE.getName())
  				|| request.contains(HttpPart.DEFAULT_WITH_CURRENT_REQUESTS.getName())) {
  			final String message = request.contains("/test2") ? null
  					: "ceci est message pour le rapport";
  			result = Arrays.asList(new Counter(Counter.HTTP_COUNTER_NAME, null),
  					new Counter("services", null), new Counter(Counter.ERROR_COUNTER_NAME, null),
  					new JavaInformations(null, true), message);
  		} else {
  			result = LabradorMock.createMockResultOfPartCall(request);
  		}
  		return (T) result;
  	}
docs: bouchon pour tests unitaires