/**
* @depends testConstruct
*
* @param \eZ\Publish\Core\Limitation\ParentContentTypeLimitationType $limitationType
*/
public function testBuildValue(ParentContentTypeLimitationType $limitationType)
{
$expected = array('test', 'test' => '1');
$value = $limitationType->buildValue($expected);
self::assertInstanceOf('\\eZ\\Publish\\API\\Repository\\Values\\User\\Limitation\\ParentContentTypeLimitation', $value);
self::assertInternalType('array', $value->limitationValues);
self::assertEquals($expected, $value->limitationValues);
}