@Test public void when_initializing_with_null__npe_is_thrown() { assertThatThrownBy(() -> FetchAtomsCancelAction.of(null, mock(RadixAddress.class))) .isInstanceOf(NullPointerException.class); assertThatThrownBy(() -> FetchAtomsCancelAction.of("Hi", null)) .isInstanceOf(NullPointerException.class); }
public static FetchAtomsCancelAction of(String uuid, RadixAddress address) { return new FetchAtomsCancelAction(uuid, address); }
FetchAtomsCancelAction implements FetchAtomsAction { public static FetchAtomsCancelAction of(String uuid, RadixAddress address) { return new FetchAtomsCancelAction(uuid, address); } }
FetchAtomsCancelAction implements FetchAtomsAction { public static FetchAtomsCancelAction of(String uuid, RadixAddress address) { return new FetchAtomsCancelAction(uuid, address); } private  FetchAtomsCancelAction(String uuid, RadixAddress address); }
FetchAtomsCancelAction implements FetchAtomsAction { public static FetchAtomsCancelAction of(String uuid, RadixAddress address) { return new FetchAtomsCancelAction(uuid, address); } private  FetchAtomsCancelAction(String uuid, RadixAddress address); static FetchAtomsCancelAction of(String uuid, RadixAddress address); @Override String getUuid(); @Override RadixAddress getAddress(); @Override RadixNode getNode(); @Override String toString(); }
FetchAtomsCancelAction implements FetchAtomsAction { public static FetchAtomsCancelAction of(String uuid, RadixAddress address) { return new FetchAtomsCancelAction(uuid, address); } private  FetchAtomsCancelAction(String uuid, RadixAddress address); static FetchAtomsCancelAction of(String uuid, RadixAddress address); @Override String getUuid(); @Override RadixAddress getAddress(); @Override RadixNode getNode(); @Override String toString();  }