### Question:
Annotation implements SequencePart { public Annotation(Map<String, Object> pojoMap) { this.annotationMap = new HashMap<String, Object>(pojoMap); } Annotation(Map<String, Object> pojoMap); List<Sequence> getSequence(VObject inReceiver); Map<String, Object> getPojo();  }### Answer:
@Test public void annotationTest() throws UnsupportedEncodingException { final Map<String, Object> pojo = new HashMap<String, Object>(); pojo.put("number", 42); pojo.put("url", "http: final String encoded = "cookie=" + URLEncoder.encode(ConverterFactory.JSON.convertTo(pojo), "UTF-8"); final Annotation theAnnotation = new Annotation(pojo); pojo.put("type", "annotation"); final Map<String, Object> retrievedPojo = theAnnotation.getPojo(); Assert.assertEquals(pojo, retrievedPojo); final List<Sequence> sequenceList = theAnnotation.getSequence(null); Assert.assertEquals(1, sequenceList.size()); final Sequence seq = sequenceList.get(0); Assert.assertEquals(Sequence.SEQ_SETTING, seq.getType()); Assert.assertEquals(encoded, seq.getData()); }