    @Test
    public void testMaxSteps(){

        IHierarchicalNodeLayout mockLayout = mockLayoutCounter(3);
        
        MaxStepCriteria c = new MaxStepCriteria(2);
        Assert.assertFalse(c.shouldBreak(mockLayout)); // non : 0 > 2
        Assert.assertFalse(c.shouldBreak(mockLayout)); // non : 1 > 2
        Assert.assertFalse(c.shouldBreak(mockLayout)); // non : 2 > 2
        Assert.assertTrue(c.shouldBreak(mockLayout));  // oui : 3 > 2
    }