title: Select class - onChange test
body: <p>Writing an unit test using JEST JS and Enzyme.
  Code has a few select classes with value set to different state.</p>
  
  <p>For example :
  I am able to find the following :</p>
  
  <pre><code>&lt;Select
     disabled={disabled}
     className={showRequired(checkRequired, this.state.AccountStatus, 'value') ? 'account-select req' : 'account-select'}
     id='custodian-status'
     value={this.state.AccountStatus}
     onChange={(e) =&gt; {let val = e ? e.value : null; this.setState({AccountStatus: e})}}
     options={this.state.AccountStatusOptions}
  /&gt;
  </code></pre>
  
  <p>But unable to find this for example:</p>
  
  <pre><code>{ type === 'add' &amp;&amp;  
    &lt;div className='account-info-item'&gt;
       &lt;label className='label'&gt;Base Currency:&lt;/label&gt;
        &lt;Select
         disabled={disabled}
         className={showRequired(checkRequired, this.state.BaseCurrency, 'value') ? 'account-select req' : 'account-select'}
         id='custodian-status'
         value={this.state.BaseCurrency}
         onChange={(e) =&gt; {let val = e ? e.value : null; this.setState({BaseCurrency: e})}}
         options={this.state.BaseCurrencyOptions}
       /&gt;
     &lt;/div&gt;
     }
  </code></pre>
  
  <p>Here is my beforeEach condition:</p>
  
  <pre><code>   beforeEach(() =&gt; wrapper = mount(&lt;MemoryRouter keyLength={0}&gt;&lt;AccountForm {...baseProps} /&gt;&lt;/MemoryRouter&gt;));
  </code></pre>
  
  <p>here is how I am trying to find its node:</p>
  
  <pre><code> wrapper.find('AccountForm').find('Select').props('').onChange(#custodian-status)
  </code></pre>
  
  <p>error:  Method “props” is meant to be run on 1 node. 4 found instead. Select is being called 9 times and not 4.</p>
  
  <p>Also tried the following:</p>
  
  <pre><code>wrapper.find('AccountForm').find('Select').find('custodian-status').simulate('change')
  </code></pre>
  
  <p>error: Method “simulate” is meant to be run on 1 node. 0 found instead.</p>