/** * @expectedException InvalidArgumentException */ public function testGetMaximumOccurrenceOfThrowsExceptionOnInvalidFieldTag() { $r = new LocalRecord(); $r->getMaximumOccurrenceOf('@@@@'); }