@Test
public void testCode() {

   ErrorTag tag = new ErrorTag();
   String result = tag.processBody("Code is ${code}.", new ErrorObject("id"));
   String expected = "Code is id.";
   Assert.assertEquals(expected, result);
}