public function testDoesExistTrue() { $this->connection->getSink(['sinkName' => $this->formattedName])->willReturn(['name' => $this->sinkName])->shouldBeCalledTimes(1); $sink = $this->getSink($this->connection); $this->assertTrue($sink->exists()); }