public void GetMinThrowsExceptionWithNullTypeTest() { var target = new RandomGenerator(); Action action = () => target.GetMin(null); action.ShouldThrow<ArgumentNullException>(); }