public void Throw_ArgumentNullException_WhenInputIsNull() { _hashFunction.Invoking(x => x.GetHashCode(null)) .Should().Throw <ArgumentNullException>(); }