public function checkboxIsCheckedCorrectlyOnValidationErrorsEvenIfDefaultTrueValue()
{
$this->browser->request('http://localhost/test/fluid/formobjects');
$form = $this->browser->getForm();
$form['post']['author']['emailAddress']->setValue('test_noValidEmail');
$form['post']['private']->setValue(false);
$this->browser->submit($form);
$this->assertEmpty($this->browser->getCrawler()->filterXPath('//input[@id="private"]')->attr('checked'));
$form['post']['private']->setValue(true);
$this->browser->submit($form);
$this->assertSame('checked', $this->browser->getCrawler()->filterXPath('//input[@id="private"]')->attr('checked'));
}