コード例 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void canInvokeSubprocessMethod() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        internal virtual void CanInvokeSubprocessMethod()
        {
            Callable <string> subprocess = (new TestingProcess()).Start(MESSAGE);

            try
            {
                assertEquals(MESSAGE, subprocess.call());
            }
            finally
            {
                SubProcess.stop(subprocess);
            }
        }