@Test
public void testRollback() {

    LdapName expectedNewName = LdapUtils.newLdapName("ou=newOu");
    LdapName expectedOldName = LdapUtils.newLdapName("ou=someou");
    RenameOperationExecutor tested = new RenameOperationExecutor(
            ldapOperationsMock, expectedOldName, expectedNewName);
    // Perform test.
    tested.rollback();
    verify(ldapOperationsMock).rename(expectedNewName, expectedOldName);
}