@Test
public void when_fetch_atoms_head_action_received__head_should_be_received_by_store() {

	InMemoryAtomStore atomStore = mock(InMemoryAtomStore.class);
	InMemoryAtomStoreReducer reducer = new InMemoryAtomStoreReducer(atomStore);
	RadixAddress address = mock(RadixAddress.class);
	RadixNode node = mock(RadixNode.class);
	reducer.reduce(FetchAtomsObservationAction.of("hi", address, node, AtomObservation.head()));
	verify(atomStore, times(1)).store(eq(address), argThat(AtomObservation::isHead));
}