title: TypeError: inputProps.onChange.call is not a function
body: <p>My test is failing because of the title error. This is my setup and test:</p>
  
  <pre><code>  let renderedOutput;
      beforeEach(() =&gt; {
        const handleBodyChange = sinon.stub();
        renderedOutput = mount (&lt;MessageDetail handleNameChange handleBodyChange/&gt;);
      });
  
    it('calls the handleBodyChange function', () =&gt; {
      const input = renderedOutput.find('#senderMsgBody');
      input.simulate('change', { target: { value: 'My message' } });
      expect(handleBodyChange).to.have.been.calledWith();
    });
  </code></pre>
  
  <p>This is my <code>MessageDetail</code> component:</p>
  
  <p><code>Name: &lt;input id="senderMsgName" value={this.props.nameValue} onChange={this.props.handleNameChange}/&gt;</code></p>
  
  <p>and this is the prop I pass down:</p>
  
  <pre><code>&lt;MessageDetail
            handleBodyChange={this.handleBodyChange.bind(this)}
            bodyValue={this.state.bodyValue}
          /&gt;
  </code></pre>
  
  <p>can post more code but any idea why I am getting this error as seems like it should work</p>