eZ\Publish\Core\Persistence\Legacy\Tests\Content\Location\MapperTest::testCreateLocationFromRowWithPrefix PHP Method

testCreateLocationFromRowWithPrefix() public method

    public function testCreateLocationFromRowWithPrefix()
    {
        $prefix = 'some_prefix_';
        $data = array();
        foreach ($this->locationRow as $key => $val) {
            $data[$prefix . $key] = $val;
        }
        $mapper = new Mapper();
        $location = $mapper->createLocationFromRow($data, $prefix);
        $this->assertPropertiesCorrect($this->locationValues, $location);
    }