@Test
public void when_creating_validator_registration_state_with_null__then_exception_is_thrown() {

	Assertions.assertThatThrownBy(() -> ValidatorRegistrationState.from(null))
		.isInstanceOf(NullPointerException.class);
	Assertions.assertThatThrownBy(() -> ValidatorRegistrationState.from(null, mock(RadixAddress.class)))
		.isInstanceOf(NullPointerException.class);
	Assertions.assertThatThrownBy(() -> ValidatorRegistrationState.from(Stream.empty(), null))
		.isInstanceOf(NullPointerException.class);
}