Example #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldSkipOtherKindsOfRecords()
        public virtual void ShouldSkipOtherKindsOfRecords()
        {
            // given
            RecordAccess recordAccess = mock(typeof(RecordAccess));

            // when
            IList <RecordAccess> filters = MultiPassStore().multiPassFilters(recordAccess, MultiPassStore.values());

            // then
            foreach (RecordAccess filter in filters)
            {
                foreach (long id in new long[] { 0, 100, 200, 300, 400, 500, 600, 700, 800, 900 })
                {
                    OtherRecords(filter, id);
                }
            }

            verifyZeroInteractions(recordAccess);
        }
 public override bool ShouldCheck(long id, MultiPassStore store)
 {
     return(Access.shouldCheck(id, store));
 }