()
| 170 | |
| 171 | |
| 172 | public void testDocRender() throws Exception |
| 173 | { |
| 174 | Document doc = Factory.newDocument("Hi Mom"); |
| 175 | doc.getAnnotations().add(new Long(0), new Long(2), |
| 176 | "Foo", new SimpleFeatureMapImpl()); |
| 177 | String content = doc.toXml(doc.getAnnotations(), false); |
| 178 | |
| 179 | // Will fail, content is "<Foo>Hi Mom</Foo>" |
| 180 | assertEquals("<Foo>Hi</Foo> Mom", content); |
| 181 | } |
| 182 | |
| 183 | |
| 184 | /** The reason this is method begins with verify and not with test is that it |
nothing calls this directly
no test coverage detected