@Test
public void testGetRecordingOperation_Unbind() throws Exception {

    CompensatingTransactionOperationRecorder result = tested
            .createRecordingOperation(dirContextMock, "unbind");
    assertThat(result instanceof UnbindOperationRecorder).isTrue();
    UnbindOperationRecorder recordingOperation = (UnbindOperationRecorder) result;
    assertThat(recordingOperation.getLdapOperations()).isSameAs(ldapOperationsMock);
    assertThat(recordingOperation.getRenamingStrategy()).isSameAs(renamingStrategyMock);
}