acceptValue() public method

Makes sure LimitationValue object and ->limitationValues is of correct type.
public acceptValue ( eZ\Publish\API\Repository\Values\User\Limitation $limitationValue )
$limitationValue eZ\Publish\API\Repository\Values\User\Limitation
 /**
  * @dataProvider providerForTestAcceptValueException
  * @depends testConstruct
  * @expectedException \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException
  *
  * @param \eZ\Publish\API\Repository\Values\User\Limitation $limitation
  * @param \eZ\Publish\Core\Limitation\ParentDepthLimitationType $limitationType
  */
 public function testAcceptValueException(Limitation $limitation, ParentDepthLimitationType $limitationType)
 {
     $limitationType->acceptValue($limitation);
 }