public void SetTestResult(TestResult testResult) { _testResult = testResult; SetText(_testResult.MethodName); ShowResult(_testResult.WasSuccessful); }