### Question:
NodeUpdater { public void update() throws NodeNotUpdatedException { UpdateInvokerTask updateTask = new UpdateInvokerTask(); Future<Void> future = singleThreadExecutor.submit(updateTask); checkFuture(node, future); } NodeUpdater(CloudNode node); void addHandler(UpdateHandler handler); void update(); static final String CHEF_SOLO_COMMAND; }### Answer:
@Test public void shouldRunChefSolo() throws Exception { NodeUpdater updater = new NodeUpdater(node); updater.sshWaiter = waiter; updater.update(); verify(ssh).runCommand(NodeUpdater.CHEF_SOLO_COMMAND); }