Neos\Flow\Tests\Functional\Property\PropertyMapperTest::simpleObjectWithSimplePropertiesCanBeCreated PHP Method

simpleObjectWithSimplePropertiesCanBeCreated() public method

    public function simpleObjectWithSimplePropertiesCanBeCreated()
    {
        $source = ['name' => 'Christopher', 'size' => '187', 'signedCla' => true];
        $result = $this->propertyMapper->convert($source, Fixtures\TestClass::class);
        $this->assertSame('Christopher', $result->getName());
        $this->assertSame(187, $result->getSize());
        $this->assertSame(true, $result->getSignedCla());
    }