예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldAutomaticallyConfigure()
        public virtual void shouldAutomaticallyConfigure()
        {
            // given

            processEngineConfiguration.setHistoryRemovalTimeProvider(null).setHistoryRemovalTimeStrategy(null);

            // when
            processEngineConfiguration.initHistoryRemovalTime();

            // then
            assertThat(processEngineConfiguration.HistoryRemovalTimeStrategy, @is(HISTORY_REMOVAL_TIME_STRATEGY_END));
            assertThat(processEngineConfiguration.HistoryRemovalTimeProvider, isA(typeof(HistoryRemovalTimeProvider)));
        }