public void NextValueThrowsExceptionWithUnsupportedTypeTest() { var target = new RandomGenerator(); Action action = () => target.NextValue('C', 'C'); action.ShouldThrow<NotSupportedException>(); }