eZ\Publish\Core\Limitation\Tests\ContentTypeLimitationTypeTest::testGetCriterionMultipleValues PHP Method

testGetCriterionMultipleValues() public method

public testGetCriterionMultipleValues ( ContentTypeLimitationType $limitationType )
$limitationType eZ\Publish\Core\Limitation\ContentTypeLimitationType
    public function testGetCriterionMultipleValues(ContentTypeLimitationType $limitationType)
    {
        $criterion = $limitationType->getCriterion(new ContentTypeLimitation(array('limitationValues' => array(9, 55))), $this->getUserMock());
        self::assertInstanceOf('\\eZ\\Publish\\API\\Repository\\Values\\Content\\Query\\Criterion\\ContentTypeId', $criterion);
        self::assertInternalType('array', $criterion->value);
        self::assertInternalType('string', $criterion->operator);
        self::assertEquals(Operator::IN, $criterion->operator);
        self::assertEquals(array(9, 55), $criterion->value);
    }