/** * @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'))); }