function it_should_build_a_moddn_when_calling_move()
{
$dn = 'cn=foobar,dc=foo,dc=bar';
$ou = 'ou=employees,dc=foo,dc=bar';
$this->move($dn, $ou)->shouldReturnAnInstanceOf('LdapTools\\Ldif\\Entry\\LdifEntryModDn');
$this->move($dn, $ou)->getDn()->shouldBeEqualTo($dn);
$this->move($dn, $ou)->getNewLocation()->shouldBeEqualTo($ou);
$this->move($dn, $ou)->getDeleteOldRdn()->shouldBeEqualTo(true);
}