/** * @expectedException \InvalidArgumentException */ public function testWillFailWithEmptyName() { $this->propertyTask->setName(''); }