### Question:
TxStateIndexChanges { static AddedAndRemoved indexUpdatesForSeek( ReadableTransactionState txState, IndexDescriptor descriptor, ValueTuple values ) { UnmodifiableMap<ValueTuple,? extends LongDiffSets> updates = txState.getIndexUpdates( descriptor.schema() ); if ( updates != null ) { LongDiffSets indexUpdatesForSeek = updates.get( values ); return indexUpdatesForSeek == null ? EMPTY_ADDED_AND_REMOVED : new AddedAndRemoved( LongLists.mutable.ofAll( indexUpdatesForSeek.getAdded() ), indexUpdatesForSeek.getRemoved() ); } return EMPTY_ADDED_AND_REMOVED; }    }### Answer:
@Test void shouldComputeIndexUpdatesForSeekWhenThereAreNewNodes() { final ReadableTransactionState state = new TxStateBuilder() .withAdded( 42L, "foo" ) .withAdded( 43L, "bar" ) .build(); AddedAndRemoved changes = indexUpdatesForSeek( state, index, ValueTuple.of( "bar" ) ); assertContains( changes.getAdded(), 43L ); }