public function testIsPartiallyFilled_returnsTrueIfChoiceAndDayEmpty() { $field = new DateField('name', array('data_timezone' => 'UTC', 'user_timezone' => 'UTC', 'widget' => 'choice')); $field->submit(array('day' => '', 'month' => '6', 'year' => '2010')); $this->assertTrue($field->isPartiallyFilled()); }