@@ -0,0 +1,1076 @@
+/*%0A * Copyright 2016 Datalogics Inc.%0A */%0A%0Apackage com.datalogics.pdf.security;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNull;%0A%0Aimport org.junit.Test;%0A%0A%0A/**%0A * Unit test for LunaHsmLoginParameters class.%0A */%0Apublic class LunaHsmLoginParametersTest %7B%0A    public static final String PASSWORD = %22password%22;%0A    public static final String TOKEN_LABEL = %22token_label%22;%0A%0A    @Test%0A    public void tokenLabelIsNullForSingleArgConstructor() %7B%0A        final LunaHsmLoginParameters parameters = new LunaHsmLoginParameters(PASSWORD);%0A        assertNull(%22Token label should be null%22, parameters.getTokenLabel());%0A        assertEquals(%22Password does not match%22, PASSWORD, parameters.getPassword());%0A    %7D%0A%0A    @Test%0A    public void tokenLabelIsRetreiveable() %7B%0A        final LunaHsmLoginParameters parameters = new LunaHsmLoginParameters(TOKEN_LABEL, PASSWORD);%0A        assertEquals(%22Token label does not match%22, TOKEN_LABEL, parameters.getTokenLabel());%0A        assertEquals(%22Password does not match%22, PASSWORD, parameters.getPassword());%0A    %7D%0A%7D%0A

Add unit test for LunaHsmLoginParameters test