function it_should_build_a_moddn_entry() { $dn = 'dc=foo,dc=bar'; $this->moddn($dn)->shouldReturnAnInstanceOf('LdapTools\\Ldif\\Entry\\LdifEntryModDn'); $this->moddn($dn)->getDn()->shouldBeEqualTo($dn); }