eZ\Publish\Core\Repository\Tests\Service\Integration\SearchBase::testFindSingleThrowsNotFoundException PHP Method

testFindSingleThrowsNotFoundException() public method

Test for the findSingle() method.
    public function testFindSingleThrowsNotFoundException()
    {
        /* BEGIN: Use Case */
        $searchService = $this->repository->getSearchService();
        // Throws an exception because content with given id does not exist
        $searchResult = $searchService->findSingle(new Criterion\ContentId(array(APIBaseTest::DB_INT_MAX)), array('languages' => array('eng-US')), false);
        /* END: Use Case */
    }