@@ -0,0 +1,1853 @@
+/*%0D%0A * To change this license header, choose License Headers in Project Properties.%0D%0A * To change this template file, choose Tools %7C Templates%0D%0A * and open the template in the editor.%0D%0A */%0D%0A%0D%0Apackage de.charite.compbio.exomiser.common;%0D%0A%0D%0Aimport org.junit.Test;%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author Jules Jacobsen %3Cjules.jacobsen@sanger.ac.uk%3E%0D%0A */%0D%0Apublic class FilterTypeTest %7B%0D%0A    %0D%0A    public FilterTypeTest() %7B%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * Test of valueOf method, of class FilterType.%0D%0A     */%0D%0A    @Test%0D%0A    public void testValueOf() %7B%0D%0A        String name = %22PHENODIGM_MGI_PRIORITY%22;%0D%0A        FilterType expResult = FilterType.PHENODIGM_MGI_PRIORITY;%0D%0A        FilterType result = FilterType.valueOf(name);%0D%0A        assertEquals(expResult, result);%0D%0A%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * Test of getCommandLineValue method, of class FilterType.%0D%0A     */%0D%0A    @Test%0D%0A    public void testGetCommandLineValue() %7B%0D%0A        FilterType instance = FilterType.BED_FILTER;%0D%0A        String expResult = %22bed%22;%0D%0A        String result = instance.getCommandLineValue();%0D%0A        assertEquals(expResult, result);%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * Test of valueOfCommandLine method, of class FilterType.%0D%0A     */%0D%0A    @Test%0D%0A    public void testValueOfCommandLineUnrecognisedDefault() %7B%0D%0A        String value = %22pweep!%22;%0D%0A        FilterType expResult = FilterType.PHENODIGM_MGI_PRIORITY;%0D%0A        FilterType result = FilterType.valueOfCommandLine(value);%0D%0A        assertEquals(expResult, result);%0D%0A    %7D%0D%0A %0D%0A    %0D%0A    /**%0D%0A     * Test of valueOfCommandLine method, of class FilterType.%0D%0A     */%0D%0A    @Test%0D%0A    public void testValueOfCommandLine() %7B%0D%0A        String value = %22boqa%22;%0D%0A        FilterType expResult = FilterType.BOQA_PRIORITY;%0D%0A        FilterType result = FilterType.valueOfCommandLine(value);%0D%0A        assertEquals(expResult, result);%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Test for new command-line functionality of FilterType.