#vulnerable code 
                             @Test
	public void testPostRawBody() {
		String sourceString = "'\"@こんにちは-test-123-" + Math.random();
		byte[] sentBytes = sourceString.getBytes();

		HttpResponse<JsonNode> response = Unirest.post("http://httpbin.org/post").body(sentBytes).asJson();

		assertEquals(sourceString, response.getBody().getObject().getString("data"));
	} 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             @Test
	public void testPostRawBody() {
		String sourceString = "'\"@こんにちは-test-123-" + Math.random();
		byte[] sentBytes = sourceString.getBytes();

		HttpResponse<JsonNode> response = Unirest.post(MockServer.POST)
				.body(sentBytes)
				.asJson();

		RequestCapture json = parse(response);
		json.asserBody(sourceString);
	}