addProvider(new Address($faker)); $this->faker = $faker; } /** * @test */ public function testSecondaryAddress() { $secondaryAdress = $this->faker->secondaryAddress(); $this->assertNotEmpty($secondaryAdress); $this->assertInternalType('string', $secondaryAdress); } }