CakeDC\Users\Auth\Rules\OwnerTest::testNotAllowedBecausePostNotFound PHP Method

testNotAllowedBecausePostNotFound() public method

test
    public function testNotAllowedBecausePostNotFound()
    {
        $this->request->params = ['plugin' => 'CakeDC/Users', 'controller' => 'Posts', 'pass' => ['99999999-0000-0000-0000-000000000000']];
        $user = ['id' => '00000000-0000-0000-0000-000000000001'];
        $this->assertFalse($this->Owner->allowed($user, 'user', $this->request));
    }