- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 
                        TestScriptResult Test_method( ... )
{
	TestScriptResult result = new TestScriptResult();
	object obj = null;
	///...
	obj = foo.Set(...);
	if (obj.GetType() == typeof(Exception))
	{
		result.SetResult(TestScriptResult.eTestResult.FAIL_SET_REQUEST, ((Exception)obj).Message);
		_LogTestMethodEnd(result);
		return result;
	}
	else
	{
	}
}
public Object Set(...)
{
	//...
	if(CheckForErrors(res) == true)
	{
		//create error description
		string sErrorDescription = string.Format("Error during ...."));
		//create exception object and return this
		Exception ex = new Exception(sErrorDescription);
		//error logging
		m_logger.Error(sErrorDescription);
		return ex;
	}
	else
	{
	}
}
                                 
        
Самостоятельная стирка с последующей усадкой мухобойки преследуется по закону.