eZ\Publish\Core\FieldType\Tests\FieldTypeTest::testAcceptValue PHP 메소드

testAcceptValue() 공개 메소드

public testAcceptValue ( mixed $inputValue, mixed $expectedOutputValue )
$inputValue mixed
$expectedOutputValue mixed
    public function testAcceptValue($inputValue, $expectedOutputValue)
    {
        $fieldType = $this->getFieldTypeUnderTest();
        $outputValue = $fieldType->acceptValue($inputValue);
        $this->assertEquals($expectedOutputValue, $outputValue, 'acceptValue() did not convert properly.');
    }