@Test
public void setRoot_reportsOnSuccess() {

    CommandListenerAdapter listener = spy(new CommandListenerAdapter());
    uut.setRoot(root, defaultOptions, listener);
    verify(listener).onSuccess(root.getId());
}