### Question:
SoapTagService extends AbstractService implements TagService { @Override public String[] getFolderTags(String sid, long folderId) throws Exception { SoapFolderService folderService = getFolderService(); WSFolder folder = folderService.getFolder(sid, folderId); if (folder == null) return new String[0]; User user = validateSession(sid); checkReadEnable(user, folderId); return folder.getTags() != null ? folder.getTags() : new String[0]; }  @Override void setDocumentTags(String sid, long docId, String[] tags); @Override void addDocumentTags(String sid, long docId, String[] tags); @Override String[] getDocumentTags(String sid, long docId); @Override void setFolderTags(String sid, long folderId, String[] tags); @Override void addFolderTags(String sid, long folderId, String[] tags); @Override String[] getFolderTags(String sid, long folderId); @Override String[] getTags(String sid); @Override String[] getTagsPreset(String sid); @Override WSTagCloud[] getTagCloud(String sid); @Override WSDocument[] findDocumentsByTag(String sid, String tag); @Override WSFolder[] findFoldersByTag(String sid, String tag);  }### Answer:
@Test public void testGetFolderTags() throws Exception { tagService.addFolderTags("", 4L, new String[] { "pippo", "pluto" }); List<String> tags = Arrays.asList(tagService.getFolderTags("", 4L)); Assert.assertTrue(tags.contains("pippo")); Assert.assertTrue(tags.contains("pluto")); }