コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setUp() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void SetUp()
        {
            KeyFormat keyFormat = mock(typeof(KeyFormat));

            when(keyFormat.valueSize()).thenReturn(Long.BYTES);
            when(_store.keyFormat()).thenReturn(keyFormat);
        }