public void ThrowsExceptionWithNullTypesTest() { Action action = () => new WrapperGenerator((Type[]) null); action.ShouldThrow<ArgumentNullException>(); }