indexExists() публичный Метод

public indexExists ( $index )
 public function testIndexExitsRejectsNonIntegers()
 {
     $this->setExpectedException("Collections\\Exceptions\\InvalidArgumentException");
     $col = new Collection('TestClassA');
     $col->indexExists("wat");
 }