/** * @test * @dataProvider providerRealEscape * @param string $input Input string * @param string $expected Expected string */ public function testRealEscape($input, $expected) { $this->assertEquals($expected, LdapClient::realEscape($input)); }