public function testApiCancel_CallsActualCancel() { $react = $this->createApiMethodMock('cancel', function () { }); $react->cancel(); }