/** * Shim support for exists and primary key directly. * * @return void */ public function testExistsById() { $result = $this->Posts->existsById(1); $this->assertTrue($result); }