createVertex(data, "text/html");
InputStream in = new ByteArrayInputStream(data.getBytes());
Vertex vertex = graph.getVertex("v1", authorizations);
Property property = vertex.getProperty(LumifyProperties.RAW.getPropertyName());
GraphPropertyWorkData workData = new GraphPropertyWorkData(vertex, property, null, null);
textExtractor.execute(in, workData);
vertex = graph.getVertex("v1", authorizations);
assertEquals("Test Title", LumifyProperties.TITLE.getPropertyValue(vertex));
assertEquals("", IOUtils.toString(LumifyProperties.TEXT.getPropertyValue(vertex).getInputStream(), "UTF-8"));