Neos\FluidAdaptor\Tests\Functional\Form\FormObjectsTest::objectCanBeModified PHP Method

objectCanBeModified() public method

public objectCanBeModified ( )
    public function objectCanBeModified()
    {
        $postIdentifier = $this->setupDummyPost();
        $this->browser->request('http://localhost/test/fluid/formobjects/edit?fooPost=' . $postIdentifier);
        $form = $this->browser->getForm();
        $this->assertSame('myName', $form['post']['name']->getValue());
        $form['post']['name']->setValue('Hello World');
        $response = $this->browser->submit($form);
        $this->assertSame('Hello World|[email protected]', $response->getContent());
    }