jest.dontMock('../Example')
import React from 'react'
import ReactDOM from 'react-dom'
import {renderIntoDocument, Simulate, findRenderedDOMComponentWithTag} from 'react-addons-test-utils'

const Example = require('../Example')

describe('Example', () => {
  it('rendering', () => {
    var example = renderIntoDocument(
        <Example title="hello"/>
    )
    var exampleNode = ReactDOM.findDOMNode(example)
    expect(exampleNode).toBeOK()
    Simulate.click(
      findRenderedDOMComponentWithTag(exampleNode, 'button')
    )
  })
})

@@ -120,41 +120,8 @@
 late
-, findRenderedDOMComponentWithTag
 %7D fr
@@ -372,16 +372,79 @@
 xample)%0A
+    var button = exampleNode.getElementsByTagName('button')%5B0%5D%0A
     expe
@@ -463,14 +463,20 @@
 de).
+not.
 toBe
-OK
+Null
 ()%0A 
@@ -497,74 +497,14 @@
 ick(
-%0A      findRenderedDOMComponentWithTag(exampleNode, 'button')%0A    
+button
 )%0A  

fix ExampleTest