addToAssertionCount( 1 ); } /** * @return Generator */ public function provideGetters() : Generator { $clazz = new ReflectionClass( AbuseFilterServices::class ); foreach ( $clazz->getMethods( ReflectionMethod::IS_PUBLIC ) as $method ) { $name = $method->getName(); if ( strpos( $name, 'get' ) === 0 ) { yield $name => [ $name ]; } } } }