@Before public void setUp() throws Exception { when(properties.getNodeDimension()).thenReturn(new Area()); when(properties.getGapDimension()).thenReturn(new Area()); }