### Question:
CanvasInlineTextEditorControl extends AbstractCanvasInlineTextEditorControl { @PostConstruct protected void initParameters() { isMultiline = true; borderOffsetX = 2d; borderOffsetY = 2d; underBoxOffset = 2d; topBorderOffset = -2d; fontSizeCorrection = 4d; maxInnerLeftBoxWidth = 190d; maxInnerLeftBoxHeight = 190d; maxInnerTopBoxWidth = 190d; maxInnerTopBoxHeight = 190d; scrollBarOffset = 13d; paletteOffsetX = 0d; innerBoxOffsetY = -1.1d; } @Inject  CanvasInlineTextEditorControl(final FloatingView<IsWidget> floatingView,
                                         final @InlineTextEditorBox TextEditorBox<AbstractCanvasHandler, Element> textEditorBox);   }### Answer:
@Test public void testInitParameters() { CanvasInlineTextEditorControl tested = mock(CanvasInlineTextEditorControl.class); doCallRealMethod().when(tested).initParameters(); tested.initParameters(); assertTrue(tested.isMultiline); assertEquals(2d, tested.borderOffsetX, 0.001); assertEquals(2d, tested.borderOffsetY, 0.001); assertEquals(2d, tested.underBoxOffset, 0.001); assertEquals(-2d, tested.topBorderOffset, 0.001); assertEquals(4d, tested.fontSizeCorrection, 0.001); assertEquals(190d, tested.maxInnerLeftBoxWidth, 0.001); assertEquals(190d, tested.maxInnerLeftBoxHeight, 0.001); assertEquals(13d, tested.scrollBarOffset, 0.001); assertEquals(0d, tested.paletteOffsetX, 0.001); assertEquals(190d, tested.maxInnerTopBoxWidth, 0.001); assertEquals(190d, tested.maxInnerTopBoxHeight, 0.001); assertEquals(-1.1d, tested.innerBoxOffsetY, 0.001); }