@Test
public void testAdjustSize(){

    final DisplayerSettings settings = mock(DisplayerSettings.class);
    when(settings.getChartWidth()).thenReturn(0);
    when(settings.getTableWidth()).thenReturn(0);
    displayerDragComponent.adjustSize(settings, 0);
    verify(settings).setTableWidth(0);
    displayerDragComponent.adjustSize(settings, 30);
    verify(settings).setTableWidth(10);
}