/** * @expectedException \InvalidArgumentException */ public function test__throw_on_invalid_period_string_set_to_cache_duration() { $ed = new EntitiesDescriptor(); $ed->setCacheDuration('83D2Y'); }