// Path: src/main/java/org/grouchotools/jsrules/exception/ClassHandlerException.java
// public class ClassHandlerException extends JsRulesException {
// 
//     public ClassHandlerException() {
//     }
// 
//     public ClassHandlerException(String message) {
//         super(message);
//     }
// 
//     public ClassHandlerException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public ClassHandlerException(Throwable cause) {
//         super(cause);
//     }
// 
//     public ClassHandlerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
//         super(message, cause, enableSuppression, writableStackTrace);
//     }
//     
// }


import static org.junit.Assert.assertEquals;
import org.grouchotools.jsrules.exception.ClassHandlerException;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.junit.*;
import org.junit.rules.ExpectedException;
import java.util.Set;
        assertEquals(String.class, handler.getMyClass());
    }
    
    @Test
    public void StringConversionTest() throws Exception {
        String string = "string";
        ClassHandler handler = ClassHandler.STRING;
        
        assertEquals(string, handler.convertString(string));
    }
    
    @Test
    public void LongSetClassTest() {
        ClassHandler handler = ClassHandler.NUMBERSET;
        
        assertEquals(Set.class, handler.getMyClass());
    }
    
    @Test
    public void LongSetConversionTest() throws Exception {
        String string = "[1,2,3,4,5]";
        ClassHandler handler = ClassHandler.NUMBERSET;
        
        Set<Long> set = handler.convertString(string);
        
        assertEquals(5, set.size());
    }
    
    @Test
    public void LongSetExceptionTest() throws Exception {
// Path: src/main/java/org/grouchotools/jsrules/exception/ClassHandlerException.java
// public class ClassHandlerException extends JsRulesException {
// 
//     public ClassHandlerException() {
//     }
// 
//     public ClassHandlerException(String message) {
//         super(message);
//     }
// 
//     public ClassHandlerException(String message, Throwable cause) {
//         super(message, cause);
//     }
// 
//     public ClassHandlerException(Throwable cause) {
//         super(cause);
//     }
// 
//     public ClassHandlerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
//         super(message, cause, enableSuppression, writableStackTrace);
//     }
//     
// }


// Path: src/test/java/org/grouchotools/jsrules/util/ClassHandlerTest.java
import static org.junit.Assert.assertEquals;
import org.grouchotools.jsrules.exception.ClassHandlerException;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.junit.*;
import org.junit.rules.ExpectedException;
import java.util.Set;

        assertEquals(String.class, handler.getMyClass());
    }
    
    @Test
    public void StringConversionTest() throws Exception {
        String string = "string";
        ClassHandler handler = ClassHandler.STRING;
        
        assertEquals(string, handler.convertString(string));
    }
    
    @Test
    public void LongSetClassTest() {
        ClassHandler handler = ClassHandler.NUMBERSET;
        
        assertEquals(Set.class, handler.getMyClass());
    }
    
    @Test
    public void LongSetConversionTest() throws Exception {
        String string = "[1,2,3,4,5]";
        ClassHandler handler = ClassHandler.NUMBERSET;
        
        Set<Long> set = handler.convertString(string);
        
        assertEquals(5, set.size());
    }
    
    @Test
    public void LongSetExceptionTest() throws Exception {
        exception.expect(ClassHandlerException.class);