@Test
public void testExists() {

    YangInstanceIdentifier yangInstanceIdentifier = YangInstanceIdentifier.empty();
    doReturn(FluentFutures.immediateTrueFluentFuture()).when(readWriteTransaction).exists(yangInstanceIdentifier);
    localTransactionContext.executeRead(new DataExists(yangInstanceIdentifier, DataStoreVersions.CURRENT_VERSION),
            SettableFuture.create(), null);
    verify(readWriteTransaction).exists(yangInstanceIdentifier);
}