function it_should_properly_set_the_dn() { $dn = 'cn=foo,dc=foo,dc=bar'; $this->setDn($dn); $this->getDn()->shouldBeEqualTo($dn); }