If user writes for instead of htmlFor, warning is shown. I suppose autofocus instead of autoFocus should warn too.

});
    it('should warn about incorrect casing on event handlers', () => {
      spyOn(console, 'error');
      ReactTestUtils.renderIntoDocument(React.createElement('input', {type: 'text', onclick: '1'}));
      ReactTestUtils.renderIntoDocument(React.createElement('input', {type: 'text', onKeydown: '1'}));
      expect(console.error.calls.count()).toBe(2);
      expect(console.error.calls.argsFor(0)[0]).toContain('onClick');
      expect(console.error.calls.argsFor(1)[0]).toContain('onKeyDown');
    });
    it('should warn about class', () => {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(React.createElement('div', {class: 'muffins'}));
      expect(console.error.calls.count()).toBe(1);
      expect(console.error.calls.argsFor(0)[0]).toContain('className');
    });
    it('should warn about props that are no longer supported', () => {
      spyOn(console, 'error');
      ReactTestUtils.renderIntoDocument(<div />);
      expect(console.error.calls.count()).toBe(0);
      ReactTestUtils.renderIntoDocument(<div onFocusIn={() => {}} />);
      expect(console.error.calls.count()).toBe(1);
      ReactTestUtils.renderIntoDocument(<div onFocusOut={() => {}} />);
      expect(console.error.calls.count()).toBe(2);
    });
    it('gives source code refs for unknown prop warning', () => {
      spyOn(console, 'error');
      ReactDOMServer.renderToString(<div class="paladin"/>);
      ReactDOMServer.renderToString(<input type="text" onclick="1"/>);
      expect(console.error.calls.count()).toBe(2);
      expect(