public void add_should_accept_null_and_not_alter_the_hashcode() { var builder = HashCodeBuilder.New(); int hash = builder.GetHashCode(); Assert.DoesNotThrow(() => builder.Add<object>(null)); Assert.Equal(hash, builder.GetHashCode()); }