$this->assertEquals( $username, $object->current->mName );
}
- public function provideNumberOfRows() {
+ public static function provideNumberOfRows() {
return array(
array( 0 ),
array( 1 ),
* @covers UserArrayFromResult::count
*/
public function testCountWithVaryingValues( $numRows ) {
- $object = $this->getUserArrayFromResult( $this->getMockResultWrapper( $this->getRowWithUsername(), $numRows ) );
+ $object = $this->getUserArrayFromResult( $this->getMockResultWrapper(
+ $this->getRowWithUsername(),
+ $numRows
+ ) );
$this->assertEquals( $numRows, $object->count() );
}
//@todo unit test for key()
//@todo unit test for next()
//@todo unit test for rewind()
-
-}
\ No newline at end of file
+}