public function testApiGetData_ReturnsProperData()
{
$expectedData = $this->getMock('StdClass');
$react = $this->createApiMethodMock('getData', function () use($expectedData) {
return $expectedData;
});
$this->assertSame($expectedData, $react->getData());
}