예제 #1
0
 /**
  * @test
  */
 public function findOneByCompoundKeyCanFindModelFromCache()
 {
     $model = $this->subject->getLoadedTestingModel(array('title' => 'Earl Grey', 'header' => 'Tea Time'));
     self::assertSame($model, $this->subject->findOneByCompoundKey(array('title' => 'Earl Grey', 'header' => 'Tea Time')));
 }