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