fix not throwed exception in "testAdapterDuplicatKey"