/** * @covers CarnegieLearning\LdapOrmBundle\Ldap\Client::setLdap */ public function testSetLdapHandlesSuppliedObject() { $ldap = $this->client->setLdap(new Dummy()); $this->assertInstanceOf('\\Symfony\\Component\\PropertyInfo\\Tests\\Fixtures\\Dummy', $ldap); }