@Test
    @Ignore    
    public void testCycles() {
        if (jdepend.containsCycles()) {
            StringBuilder sb = new StringBuilder(
                    "The following packages contain cycles which should be removed.");

            for (Object element : jdepend.getPackages()) {
                JavaPackage pack = (JavaPackage) element;
                if (pack.containsCycle()) {
                    /*
                     * Append chars to avoid instantiating strings.
                     *
                     * Micro-optimisation in a test class _is_ ridiculous, don't
                     * you think? You are allowed to laugh at me on this one.
                     */
                    sb.append('\n').append('\t').append(pack.getName());
                }
            }
            log.warn(sb.toString());

            fail();
        } else {
            log.info("No package cycle detected.");
        }
    }