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