public function testRemoveWatcher_removedWatcher_doesNothing() { $watcher = $this->getWatcherMock(); $eventLoop = new EventLoop(); $eventLoop->removeWatcher($watcher); $this->assertThat($eventLoop->getWatchers(), $this->logicalNot($this->contains($watcher))); }