### Question:
PerformAutomaticLayoutCommand extends AbstractClientSessionCommand<EditorSession> { UndoableLayoutExecutor makeExecutor() { return new UndoableLayoutExecutor(getCanvasHandler(), sessionCommandManager); } @Inject  PerformAutomaticLayoutCommand(final LayoutHelper layoutHelper,
                                         final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                         final Event<LockRequiredEvent> locker); @Override boolean accepts(final ClientSession session); @Override void execute(final Callback<V> callback);  }### Answer:
@Test public void testMakeExecutor() { final UndoableLayoutExecutor executor = command.makeExecutor(); assertEquals(canvasHandler, executor.getCanvasHandler()); assertEquals(commandManager, executor.getCommandManager()); }