// Path: ddth-commons-core/src/main/java/com/github/ddth/commons/serialization/FstSerDeser.java
// public class FstSerDeser implements ISerDeser {
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public byte[] toBytes(Object obj) throws SerializationException {
//         return toBytes(obj, null);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public byte[] toBytes(Object obj, ClassLoader classLoader) throws SerializationException {
//         return SerializationUtils.toByteArrayFst(obj, classLoader);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public <T> T fromBytes(byte[] data, Class<T> clazz) throws DeserializationException {
//         return fromBytes(data, clazz, null);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public <T> T fromBytes(byte[] data, Class<T> clazz, ClassLoader classLoader)
//             throws DeserializationException {
//         return SerializationUtils.fromByteArrayFst(data, clazz, classLoader);
//     }
// }


import com.github.ddth.commons.serialization.FstSerDeser;
import junit.framework.Test;
import junit.framework.TestSuite;
package com.github.ddth.commons.test.serialization;



/*
 * mvn test -DskipTests=false -Dtest=com.github.ddth.commons.test.serialization.FstSerDeserTest
 */
public class FstSerDeserTest extends BaseSerDeserTest {

    public FstSerDeserTest(String testName) {
        super(testName);
    }

    public static Test suite() {
        return new TestSuite(FstSerDeserTest.class);
    }

    @org.junit.Test
    public void testFst() {
// Path: ddth-commons-core/src/main/java/com/github/ddth/commons/serialization/FstSerDeser.java
// public class FstSerDeser implements ISerDeser {
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public byte[] toBytes(Object obj) throws SerializationException {
//         return toBytes(obj, null);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public byte[] toBytes(Object obj, ClassLoader classLoader) throws SerializationException {
//         return SerializationUtils.toByteArrayFst(obj, classLoader);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public <T> T fromBytes(byte[] data, Class<T> clazz) throws DeserializationException {
//         return fromBytes(data, clazz, null);
//     }
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public <T> T fromBytes(byte[] data, Class<T> clazz, ClassLoader classLoader)
//             throws DeserializationException {
//         return SerializationUtils.fromByteArrayFst(data, clazz, classLoader);
//     }
// }


// Path: ddth-commons-core/src/test/java/com/github/ddth/commons/test/serialization/FstSerDeserTest.java
import com.github.ddth.commons.serialization.FstSerDeser;
import junit.framework.Test;
import junit.framework.TestSuite;

package com.github.ddth.commons.test.serialization;



/*
 * mvn test -DskipTests=false -Dtest=com.github.ddth.commons.test.serialization.FstSerDeserTest
 */
public class FstSerDeserTest extends BaseSerDeserTest {

    public FstSerDeserTest(String testName) {
        super(testName);
    }

    public static Test suite() {
        return new TestSuite(FstSerDeserTest.class);
    }

    @org.junit.Test
    public void testFst() {
        doTest(new FstSerDeser());