}
@Test
public void doEdgeToXml() {
Edge e = this.graph.getEdge(11);
ExtensionResponse extensionResponse = this.extension.doEdgeToXml(e);
Assert.assertNotNull(extensionResponse);
Response response = extensionResponse.getJerseyResponse();
Assert.assertNotNull(response);
Assert.assertEquals(Response.Status.OK.getStatusCode(), response.getStatus());
String xml = (String) response.getEntity();
Assert.assertEquals("<edge><id>11</id><label>created</label></edge>", xml);