public function testDispatchErrorWithDisabledIgnoreRepeatedSource() { $this->dispatcher->ignoreRepeatedSource = false; $this->connector->expects($this->exactly(2))->method('sendMessage'); $this->dispatcher->dispatchError(null, null, __FILE__, 100); $this->dispatcher->dispatchError(null, null, __FILE__, 100); }