use of com.serotonin.json.junit.vo.SomeAnnotations in project ma-core-public by infiniteautomation.
the class AnnotationsTest method testSample.
public void testSample() throws Exception {
StringWriter out = new StringWriter();
JsonWriter writer = new JsonWriter(out);
writer.writeObject(new SomeAnnotations());
String json = out.toString();
assertEquals(json, "{\"id\":0}");
}
Aggregations