//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void changeSuspendedState() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ChangeSuspendedState() { ToSuspendedStateConflict.set(_lifeCycle); assertEquals(ShouldEndInState, _lifeCycle.status); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUpServer() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void SetUpServer() { _lifeCycle = new StateAwareSuspendableLifeCycle(NullLogProvider.Instance.getLog("log")); setInitialState(_lifeCycle, FromState); FromSuspendedState.set(_lifeCycle); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void setUpServer() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void SetUpServer() { _lifeCycle = new StateAwareSuspendableLifeCycle((new AssertableLogProvider(false)).getLog("log")); setInitialState(_lifeCycle, FromState); FromSuspendedState.set(_lifeCycle); }