Token { public static String unquote(String text) { if (text == null) { return null; } int len = text.length(); if (len < 2 || text.charAt(0) != '"' || text.charAt(len - 1) != '"') { return text; } text = text.substring(1, len - 1); return unescape(text); }  static boolean isValid(String token); static boolean isSeparator(char ch); static String unquote(String text); static String unescape(String text);  }
@Test public void test014() { unquote("abc", "\"abc\""); }
@Test public void test015() { unquote("\"abc", "\"abc"); }
@Test public void test016() { unquote("abc\"", "abc\""); }
@Test public void test017() { unquote("abc", "\"ab\\c\""); }
@Test public void test018() { unquote("ab\\c", "\"ab\\\\c\""); }
@Test public void test011() { unquote(null, null); }
@Test public void test012() { unquote("", ""); }
@Test public void test013() { unquote("abc", "abc"); }