getLastModified() public méthode

public getLastModified ( array $users, $imageIdentifier = null )
$users array
Exemple #1
0
 /**
  * @covers Imbo\Database\MongoDB::getLastModified
  * @expectedException Imbo\Exception\DatabaseException
  * @expectedExceptionMessage Unable to fetch image data
  * @expectedExceptionCode 500
  */
 public function testThrowsExceptionWhenMongoFailsDuringGetLastModified()
 {
     $this->imageCollection->expects($this->once())->method('find')->will($this->throwException(new MongoException()));
     $this->driver->getLastModified(['key']);
 }