function it_should_get_the_ldap_server_set() { $this->getServer()->shouldBeEqualTo(null); $this->setServer('foo')->shouldReturnAnInstanceOf('\\LdapTools\\Object\\LdapObjectCreator'); $this->getServer()->shouldBeEqualTo('foo'); }