@@ -0,0 +1,937 @@
+/*%0A * To change this template, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage com.stratelia.webactiv.util;%0A%0Aimport org.junit.*;%0Aimport static org.junit.Assert.*;%0A%0A/**%0A *%0A * @author ehugonnet%0A */%0Apublic class FileServerUtilsTest %7B%0A%0A  @BeforeClass%0A  public static void setUp() %7B%0A    // code that will be invoked before this test starts%0A    %7D%0A%0A  @Test%0A  public void testGetAttachmentURL() %7B%0A    String url = FileServerUtils.getAttachmentURL(%22myComponent12%22, %22toto_le_beau.JPG%22, %2218512%22, %22%22);%0A    assertNotNull(url);%0A    assertEquals(%22/silverpeas/attached_file/componentId/myComponent12/attachmentId/18512/lang//name/toto_le_beau.JPG%22,%0A        url);%0A    url = FileServerUtils.getAttachmentURL(%22myComponent12%22, %22toto_le_beau.JPG%22, %2218512%22, null);%0A    assertNotNull(url);%0A    assertEquals(%22/silverpeas/attached_file/componentId/myComponent12/attachmentId/18512/lang/fr/name/toto_le_beau.JPG%22,%0A        url);%0A  %7D%0A%7D%0A

Test for FileServerUtil added