patchObject.addHeader(CONTENT_TYPE, "application/sparql-update");
patchObject.setEntity(new StringEntity("INSERT { <> " +
"<http://www.w3.org/TR/rdf-schema/label> \"this is a label\" } WHERE {}"));
final long lastmod2;
try (final CloseableHttpResponse response = execute(patchObject)) {
<BUG>assertEquals(NO_CONTENT.getStatusCode(), getStatus(response));
lastmod2 = headerFormat.parse(response.getFirstHeader("Last-Modified").getValue()).getTime();
</BUG>
assertTrue(lastmod2 > lastmod1);
}

patchObject.addHeader(CONTENT_TYPE, "application/sparql-update");
patchObject.setEntity(new StringEntity("INSERT { <> " +
"<http://www.w3.org/TR/rdf-schema/label> \"this is a label\" } WHERE {}"));
final long lastmod2;
try (final CloseableHttpResponse response = execute(patchObject)) {
assertEquals(NO_CONTENT.getStatusCode(), getStatus(response));
lastmod2 = Instant.from(
headerFormat.parse(response.getFirstHeader("Last-Modified").getValue())).toEpochMilli();
assertTrue(lastmod2 > lastmod1);
}
