    @Test
    void testPrimitiveTypes() throws ClassNotFoundException, IOException {

        String expected = PrimitiveTypesTestHook.class.getName() + " instruments [com.example.Some]:\n" +
                "  * arrayArgs(java.lang.Object[], int[], java.lang.String[])\n" +
                "  * boxedArgs(java.lang.Boolean, java.lang.Character, java.lang.Byte, java.lang.Short, java.lang.Integer, java.lang.Float, java.lang.Long, java.lang.Double)\n" +
                "  * noArgs()\n" +
                "  * primitiveArgs(boolean, char, byte, short, int, float, long, double)";
        SortedSet<HookMetadata> result = parser.parse(className -> className.equals(PrimitiveTypesTestHook.class.getName()));
        Assertions.assertEquals(1, result.size());
        Assertions.assertEquals(expected, result.first().toString());
    }