public static List<MainModel.MainOptionModel> parseConfigurationSource(String fileName) throws IOException {
        return parseConfigurationSource(new File(fileName));
    }
@Test
    public void testMyParser() throws Exception {
        String fileName = "src/test/java/org/apache/camel/maven/packaging/MyConfiguration.java";

        List<MainModel.MainOptionModel> list = PrepareCamelMainMojo.parseConfigurationSource(fileName);
        assertNotNull(list);
        assertEquals(39, list.size());

        assertEquals("name", list.get(0).getName());
        assertEquals("java.lang.String", list.get(0).getJavaType());
        assertNull(list.get(0).getDefaultValue());
        assertEquals("Sets the name of the CamelContext.", list.get(0).getDescription());

        assertEquals("shutdownTimeout", list.get(4).getName());
        assertEquals("int", list.get(4).getJavaType());
        assertEquals(300, list.get(4).getDefaultValue());
        assertEquals("Timeout in seconds to graceful shutdown Camel.", list.get(4).getDescription());

        assertEquals("tracing", list.get(25).getName());
        assertEquals("boolean", list.get(25).getJavaType());
        assertTrue(list.get(25).isDeprecated());
    }