void () { RadComponent c = newComponent(0, 0, 1, 1); myContainer.addComponent(c); CellConstraints cc = myLayout.getConstraints(c.getDelegee()); assertEquals(1, cc.gridX); assertEquals(1, cc.gridY); assertEquals(1, cc.gridWidth); assertEquals(1, cc.gridHeight); }