// Path: src/main/java/com/feedzai/fos/impl/weka/exception/WekaClassifierException.java
// public class WekaClassifierException extends FOSException {
//     /**
//      * Builds a new exception from the given throwable.
//      *
//      * @param e the underlying throwable
//      */
//     public WekaClassifierException(Throwable e) {
//         super(e);
//     }
// 
//     /**
//      * Create a new exception with the given message.
//      *
//      * @param msg the message that explains the exception
//      */
//     public WekaClassifierException(String msg) {
//         super(msg);
//     }
// 
//     /**
//      * Create a new exception with the given message and cause.
//      *
//      * @param msg the message that explains the exception
//      * @param cause the original exception that originated this one
//      */
//     public WekaClassifierException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// }


import com.feedzai.fos.api.ModelDescriptor;
import com.feedzai.fos.impl.weka.exception.WekaClassifierException;
import org.junit.Test;
import weka.classifiers.Classifier;
import static org.junit.Assert.assertNotNull;
/*
 * $#
 * FOS Weka
 *  
 * Copyright (C) 2015 Feedzai SA
 *  
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #$
 */
package com.feedzai.fos.impl.weka.utils.pool;



/**
 * Tests for {@link ClassifierFactory}.
 *
 * @author Ricardo Ferreira (ricardo.ferreira@feedzai.com)
 * @since 1.6.0
 */
public class ClassifierFactoryTest {

    /**
     * Tests a Classifier Factory that handles classifiers stored in binary format.
     */
    @Test
// Path: src/main/java/com/feedzai/fos/impl/weka/exception/WekaClassifierException.java
// public class WekaClassifierException extends FOSException {
//     /**
//      * Builds a new exception from the given throwable.
//      *
//      * @param e the underlying throwable
//      */
//     public WekaClassifierException(Throwable e) {
//         super(e);
//     }
// 
//     /**
//      * Create a new exception with the given message.
//      *
//      * @param msg the message that explains the exception
//      */
//     public WekaClassifierException(String msg) {
//         super(msg);
//     }
// 
//     /**
//      * Create a new exception with the given message and cause.
//      *
//      * @param msg the message that explains the exception
//      * @param cause the original exception that originated this one
//      */
//     public WekaClassifierException(String msg, Throwable cause) {
//         super(msg, cause);
//     }
// }


// Path: src/test/java/com/feedzai/fos/impl/weka/utils/pool/ClassifierFactoryTest.java
import com.feedzai.fos.api.ModelDescriptor;
import com.feedzai.fos.impl.weka.exception.WekaClassifierException;
import org.junit.Test;
import weka.classifiers.Classifier;
import static org.junit.Assert.assertNotNull;

/*
 * $#
 * FOS Weka
 *  
 * Copyright (C) 2015 Feedzai SA
 *  
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #$
 */
package com.feedzai.fos.impl.weka.utils.pool;



/**
 * Tests for {@link ClassifierFactory}.
 *
 * @author Ricardo Ferreira (ricardo.ferreira@feedzai.com)
 * @since 1.6.0
 */
public class ClassifierFactoryTest {

    /**
     * Tests a Classifier Factory that handles classifiers stored in binary format.
     */
    @Test
    public void testMakeObjectBinary() throws WekaClassifierException {