Embedding { public String getDecodedData() { return decodedData; }  String getData(); void setData(final String data); String getDecodedData(); void decodeData(final String data); MimeType getMimeType(); void setMimeType(final MimeType mimeType); String getName(); void setName(final String name); String getFilename(); void setFilename(final String filename); boolean isImage(); boolean isPlainText(); String getFileEnding(); boolean isExternalContent();  }
@Test public void getDecodedDataTest() { String originalInput = "This is getDecodeData() Test !!!"; String encodeString = new String(Base64.encodeBase64(originalInput.getBytes())); embedding.setMimeType(MimeType.TXT); embedding.decodeData(encodeString); assertThat(embedding.getDecodedData(), is("This is getDecodeData() Test !!!")); }