addProvider(new Text($faker)); $this->faker = $faker; } public function testText() { $this->assertNotSame('', $this->faker->realtext(200, 2)); } }