예제 #1
0
 /**
  * StringList constructor.
  */
 public function __construct()
 {
     parent::__construct('numeric');
 }
예제 #2
0
 /**
  * @dataProvider filterableObjects
  */
 public function testIfFindLastWithoutAnyMatchReturnsNull($typeName, $beginningOfTheNameToFilter, array $testTypes)
 {
     $list = new GenericList($typeName);
     foreach ($testTypes as $testType) {
         $list->add($testType[0]);
     }
     $this->assertNull($list->findLast(new BeginningNameFilter(str_rot13($beginningOfTheNameToFilter))));
 }