title: Autocomplete Mui Testing, simulate change doesn't work
body: <p>I need to simulate an onChange event with enzyme to update a state's component that is not working, I share the component's code in order to be helped.</p>
  <p>Component:</p>
  <pre><code>import React, { useState } from 'react';
  import TextField from '@material-ui/core/TextField';
  import Autocomplete from '@material-ui/lab/Autocomplete';
      
  const top100Films = [
    { title: 'The Shawshank Redemption', year: 1994 },
    { title: 'The Godfather', year: 1972 },
    { title: 'The Godfather: Part II', year: 1974 },
  ];
      
  const Counter = () =&gt; {
    const [value, setValue] = useState({ title: 'The Godfather', year: 1972 });
  
    const handleAutocomplete = (e, item) =&gt; {
      setValue(item);
    }
  
    return (
      &lt;&gt;
        {value &amp;&amp; (
          &lt;p id=&quot;option&quot;&gt;{value.title}&lt;/p&gt;
        )}
        &lt;Autocomplete
          id=&quot;combo-box-demo&quot;
          name=&quot;tags&quot;
          debug
          options={top100Films}
          getOptionLabel={option =&gt; option.title}
          onChange={handleAutocomplete}
          style={{ width: 300 }}
          renderInput={params =&gt; &lt;TextField {...params} label=&quot;Combo box&quot; variant=&quot;outlined&quot; /&gt;}
        /&gt;
      &lt;/&gt;
    )
  }
  </code></pre>
  <p>test component.</p>
  <p><img src="https://i.stack.imgur.com/lJEKs.png" alt="enter image description here" /></p>
  <pre><code>import React from 'react';
  import { mount } from 'enzyme';
  import Counter from '../components/Counter';
  
  describe('&lt;Counter /&gt;', () =&gt; {
    it('shoult update component', () =&gt; {
      const wrapper = mount(&lt;Counter /&gt;);
      const autocomplete = wrapper.find('input');
      console.log(autocomplete.debug());
      autocomplete.simulate('change', { target: { value: 'The Shawshank Redemption' }});
      wrapper.update();
      expect(wrapper.find('p').text()).toEqual('The Shawshank Redemption');
    });
  });
  </code></pre>