public static <T> KernelFunction<T> fromYaml(Path filePath) throws IOException {
        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
        try (InputStream inputStream = classLoader.getResourceAsStream(filePath.toString())) {
            return fromYaml(inputStream, null);
        }
    }
@Test
    @Disabled
    public void testFromYaml() throws Exception {
        System.out.println("fromYaml");
        Path filePath = null;
        KernelFunction expResult = null;
        KernelFunction result = KernelFunctionYaml.fromYaml(filePath);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }