public function UnitMustBeValid() { $this->setExpectedException('InvalidArgumentException'); $this->createPeriod('not an actual unit'); }