//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldNotMatchIfNodeIsMissingLabel() public virtual void ShouldNotMatchIfNodeIsMissingLabel() { // when IList <IndexDescriptor> matched = new List <IndexDescriptor>(); NodeSchemaMatcher.OnMatchingSchema(iterator(IndexWithMissingLabel), _node.labels().all(), UN_INDEXED_PROP_ID, _props, matched.add); // then assertThat(matched, empty()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldNotUpdateIndexesOnChangedIrrelevantProperty() public virtual void ShouldNotUpdateIndexesOnChangedIrrelevantProperty() { // WHEN _indexTxUpdater.onPropertyAdd(_node, _propertyCursor, _node.labels().all(), UN_INDEXED_PROP_ID, _props, Values.of("whAt")); _indexTxUpdater.onPropertyRemove(_node, _propertyCursor, _node.labels().all(), UN_INDEXED_PROP_ID, _props, Values.of("whAt")); _indexTxUpdater.onPropertyChange(_node, _propertyCursor, _node.labels().all(), UN_INDEXED_PROP_ID, _props, Values.of("whAt"), Values.of("whAt2")); // THEN verify(_txState, never()).indexDoUpdateEntry(any(), anyInt(), any(), any()); }