public void NextValueWithTypeThrowsExceptionWithNullTypeTest() { var target = new RandomGenerator(); Action action = () => target.NextValue(null, 0, 0); action.ShouldThrow<ArgumentNullException>(); }