### Question:
DiagramSource { public static String plantumlDecode(String source) throws DecodeException { try { return unsafePlantumlDecode(source); } catch (UnsupportedEncodingException e) { throw new DecodeException("Characters must be encoded in UTF-8.", e); } }  static String decode(String encoded); static String decode(String encoded, boolean trim); static String plantumlDecode(String source); static byte[] encode(String decoded);  }### Answer:
@Test void should_decode_valid_plantuml_encoded_source_with_plantuml_encoder() throws DecodeException { String sourceDecoded = DiagramSource.plantumlDecode("SyfFKj2rKt3CoKnELR1Io4ZDoSa70000"); assertThat(sourceDecoded).isEqualTo("@startuml\nBob -> Alice : hello\n@enduml"); }
@Test void should_decode_valid_plantuml_encoded_source_with_default_encoder() throws DecodeException { String sourceDecoded = DiagramSource.plantumlDecode("eNrjciguSSwqKc3N4XLKT1LQtVNwzMlMTlWwUshIzcnJ53JIzUsBSQIABnMM1A=="); assertThat(sourceDecoded).isEqualTo("@startuml\nBob -> Alice : hello\n@enduml"); }