@Test
public void testAddOnEnterPinnedModeCommand() {

    final Command command = mock(Command.class);
    final GridLayer gridLayer = mock(GridLayer.class);
    doReturn(gridLayer).when(view).getGridLayerView();
    presenter.addOnEnterPinnedModeCommand(command);
    verify(gridLayer).addOnEnterPinnedModeCommand(command);
}