public function testFilterIgnoresNoObject()
{
$form = $this->getMockForm();
$form->expects($this->once())->method('isRoot')->will($this->returnValue(true));
$form->expects($this->once())->method('getData')->will($this->returnValue(array(1, 2, 3)));
$this->delegate->expects($this->never())->method('filterEntity');
$this->listener->onPostSubmit(new FormEvent($form, null));
}