@Test
public void testEqualsByPrimaryKeys_Legacy() throws Exception {

    enableLegacy();
    Object object1 = newLegacyObject();
    Object object2 = newLegacyObject();
    lda.equalsByPrimaryKeys(object1, object2);
    verify(knsLegacyDataAdapter).equalsByPrimaryKeys(eq(object1), eq(object2));
    verifyZeroInteractions(kradLegacyDataAdapter);
}