@@ -0,0 +1,991 @@
+/*%0A * Copyright (C) 2014 Klaus Reimer %3Ck@ailis.de%3E%0A * See LICENSE.md for licensing information.%0A */%0A%0Apackage org.usb4java;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Tests the %7B@link LoaderException%7D class.%0A * %0A * @author Klaus Reimer (k@ailis.de)%0A */%0Apublic class LoaderExceptionTest%0A%7B%0A    /**%0A     * Tests the constructor with only an error message.%0A     */%0A    @Test%0A    public void testConstructorWithMessage()%0A    %7B%0A        final LoaderException e = new LoaderException(%22Custom message%22);%0A        assertEquals(%22Custom message%22, e.getMessage());%0A    %7D%0A%0A    /**%0A     * Tests the constructor with an error message and a cause.%0A     */%0A    @Test%0A    public void testConstructorWithMessageAndCause()%0A    %7B%0A        final RuntimeException cause = new RuntimeException();%0A        final LoaderException e = new LoaderException(%22Custom message%22, cause);%0A        assertEquals(%22Custom message%22, e.getMessage());%0A        assertEquals(cause, e.getCause());%0A    %7D%0A%7D%0A

Add unit test for LoaderException class