### Question:
ParenthesisSerializer { public static List<String> deserialize(final String value) { if (isBlank(value)) { return Collections.emptyList(); } final String normalizedValue = trimToEmpty(value); if (normalizedValue.startsWith("(") && normalizedValue.endsWith(")")) { return Arrays.asList( PARENTHESIS_SPLIT_REGEX.split( normalizedValue.substring(1, normalizedValue.length() - 1))); } return Collections.singletonList(normalizedValue); }  static String serialize(final Collection<T> collection); static List<String> deserialize(final String value);  }### Answer:
@Test public void deserialize() { assertTrue(ParenthesisSerializer.deserialize("").isEmpty()); assertEquals(1, ParenthesisSerializer.deserialize("(a)").size()); assertEquals("a", ParenthesisSerializer.deserialize("(a)").get(0)); assertEquals(2, ParenthesisSerializer.deserialize("(a),(b)").size()); assertEquals("a", ParenthesisSerializer.deserialize("(a),(b)").get(0)); assertEquals("b", ParenthesisSerializer.deserialize("(a),(b)").get(1)); }