@Test
public void when_extracting_from_stream_with_single_address__then_latest_correct_state_is_returned() {

	int numStateChanges = 10;
	List<Particle> particles = new ArrayList<>(numStateChanges);
	ValidatorRegistrationState currentState = populateStateChanges(ADDRESS_1, numStateChanges, particles);
	ValidatorRegistrationState extractedState = ValidatorRegistrationState.from(particles.stream(), ADDRESS_1);
	assertThat(extractedState).isEqualTo(currentState);
}