public function testCanCheckIfImageAlreadyExists() { $publicKey = 'publickey'; $imageIdentifier = 'id'; $this->assertFalse($this->adapter->imageExists($publicKey, $imageIdentifier)); $this->adapter->insertImage($publicKey, $imageIdentifier, $this->getImage()); $this->assertTrue($this->adapter->imageExists($publicKey, $imageIdentifier)); }