@@ -0,0 +1,1184 @@
+package org.deeplearning4j.spark.util;%0A%0Aimport akka.actor.ActorSystem;%0Aimport akka.serialization.Serialization;%0Aimport akka.serialization.SerializationExtension;%0Aimport akka.serialization.Serializer;%0A%0A/**%0A *%0A * Test serialization%0A *%0A * @author Adam Gibson%0A */%0Apublic class SerializationTester %7B%0A%0A%0A    /**%0A     * Testing akka serialization%0A     * @param system the system to test on%0A     * @param test the object to test%0A     */%0A    public static void testSerialization(ActorSystem system,Object test) throws Exception %7B%0A        // Get the Serialization Extension%0A        Serialization serialization = SerializationExtension.get(system);%0A%0A%0A        // Find the Serializer for it%0A        Serializer serializer = serialization.findSerializerFor(system);%0A        serializer.toBinary(test);%0A%0A%0A    %7D%0A%0A    /**%0A     * Test serialization%0A     * @param test the object to test%0A     */%0A    public static void testSerialization(Object test) %7B%0A        ActorSystem as = ActorSystem.create(%22testserde%22);%0A        try %7B%0A            testSerialization(as, test);%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A        finally %7B%0A            as.shutdown();%0A        %7D%0A    %7D%0A%0A%0A%0A%7D%0A

add serialization testing for akka