@Test
    public void testFoundActionSerialization() {
        WithLocationAction action = new FoundAction(PAC4J_BASE_URL);
        val serialized = helper.serializeToBytes(action);
        WithLocationAction action2 = (FoundAction) helper.deserializeFromBytes(serialized);
        assertEquals(action.getLocation(), action2.getLocation());
    }
Tests {@link JavaSerializer}.

@author Jerome Leleu
@since 1.8.1
pac4j-core/src/test/java/org/pac4j/core/util/serializer/JavaSerializerTests.java