@Test
public void testGetRecordingOperation_ModifyAttributes() throws Exception {

    CompensatingTransactionOperationRecorder result = tested
            .createRecordingOperation(dirContextMock, "modifyAttributes");
    assertThat(result instanceof ModifyAttributesOperationRecorder).isTrue();
    ModifyAttributesOperationRecorder recordingOperation = (ModifyAttributesOperationRecorder) result;
    assertThat(recordingOperation.getLdapOperations()).isSameAs(ldapOperationsMock);
}