    @Test
    public void testGetCustomLongAttributes() {

        assertEquals(new Long(1L), userPrincipalImpl.getCustomLongAttribute("long"));
        assertEquals(new Long(0L),
                        userPrincipalImpl.getCustomLongAttribute("nonExistentCustomAttribute"));
    }