/** * @dataProvider startEndProvider */ public function testStart($method, $topic, $headers, $body) { $result = $this->object->start($method, $topic, $headers, $body); $this->assertEquals($this->object, $result); $this->offsetExists(); $this->offsetGet(); }