### Question:
LiteralTextBox extends TextBox { String set(String value) { value = value.replace("\\\\", "\\"); value = value.replace("\\\"", "\""); return value; }  @Override void setText(String text); @Override void setValue(String value); @Override void setValue(String value, boolean fireEvents); @Override String getValue();  }### Answer:
@Test public void testSet() { assertEquals("\"", textBox.set("\\\"")); assertEquals("\\", textBox.set("\\\\")); assertEquals("\\\"", textBox.set("\\\\\\\"")); }