/** * Tests setStreamingCallback * @expectedException \Exception * @expectedExceptionMessage This is not a proper callback. */ public function testSetStreamingCallback2() { $cb = new CodebirdT(); $cb->setStreamingCallback(['\\Codebird\\CodebirdTX', 'somewhere']); }