React js - Como zombar do contexto ao testar o componente

Estou tentando testar um componente que herda o contexto de um componente raiz, sem carregar / renderizar tudo da raiz para baixo. Eu tentei e procurei exemplos de como zombar do contexto, mas não consigo encontrar nada (pelo menos isso não usa brincadeira).

Aqui está um exemplo simplificado do que estou tentando alcançar.

Existe uma maneira simples de simular o reactEl.context para o teste?

/**
* Root Element that sets up & shares context
*/
class Root extends Component {
  getChildContext() {
    return { 
      language: { text: 'A String'} 
    };
  }

  render() {
    return (
      <div>
        <ElWithContext />
      </div>
    );
  }
}

Root.childContextTypes = { language: React.PropTypes.object };

/**
 * Child Element which uses context
 */
class ElWithContext extends React.Component{
  render() {
    const {language} = this.context;
    return <p>{language.text}</p>
  }
}

ElWithContext.contextTypes = { language: React.PropTypes.object }



/**
 * Example test where context is unavailable.
 */
let el = React.createElement(ElWithContext)

element = TestUtils.renderIntoDocument(el);
// ERROR: undefined is not an object (evaluating 'language.text')

describe("ElWithContext", () => {
  it('should contain textContent from context', () => {
    const node = ReactDOM.findDOMNode(element);
    expect(node.textContent).to.equal('A String');
  });
})

questionAnswers(2)

yourAnswerToTheQuestion