public function testAllowedShouldThrowExceptionBecauseForeignKeyNotPresentInTable()
{
$this->Owner = new Owner(['table' => TableRegistry::get('CakeDC/Users.Posts'), 'ownerForeignKey' => 'column_not_found']);
$this->request->params = ['pass' => ['00000000-0000-0000-0000-000000000001']];
$user = ['id' => '00000000-0000-0000-0000-000000000001'];
$this->Owner->allowed($user, 'user', $this->request);
}