//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setup() public virtual void Setup() { when(_transactionToApply.transactionId()).thenReturn(1L); when(_indexingService.convertToIndexUpdates(any(), eq(EntityType.NODE))).thenAnswer(o => Iterables.empty()); }