SSHKeysEditorEmptyStateDisplayer implements SSHKeysEditorEmptyStateDisplayerView.Presenter,
                                                         IsElement { public void init(Command addCommand) { PortablePreconditions.checkNotNull("addCommand", addCommand); this.addCommand = addCommand; } @Inject  SSHKeysEditorEmptyStateDisplayer(final SSHKeysEditorEmptyStateDisplayerView view); void init(Command addCommand); @Override HTMLElement getElement(); @Override void notifyAdd();  }
@Test public void testInitNull() { Assertions.assertThatThrownBy(() -> displayer.init(null)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Parameter named 'addCommand' should be not null!"); }