### Question:
TimeLiteralConvertor implements LiteralConvertor<Time> { @Override public String convert(Time target) { checkNotNull(target); StringBuilder sb = new StringBuilder(); sb.append(QUOTE_STRING); sb.append(target.toString()); sb.append(QUOTE_STRING); return sb.toString(); } TimeLiteralConvertor(); @Override String convert(Time target); @Override Class<?> getJavaType();  }### Answer:
@Test public void Timeの値をリテラルに変換する() throws Exception { Calendar cal = Calendar.getInstance(); cal.set(2011, 10, 1, 12, 0, 0); assertThat(target.convert(new Time(cal.getTimeInMillis())), is("'12:00:00'")); }
@Test(expected = InternalException.class) public void 引数がNULLであることを表明() throws Exception { target.convert(null); }