public void GetStepByTypeForWrongType() { TestFunctionWithInvalidSteps step = TestStep.GetStepByType <TestFunctionWithInvalidSteps> (_nestedLevel2FunctionStep); Assert.That(step, Is.Null); }
public void GetStepByTypeForTestStep() { TestStep step = TestStep.GetStepByType <TestStep> (_standAloneStep); Assert.That(step, Is.SameAs(_standAloneStep)); }
public void GetStepByTypeForWxeFunction() { WxeFunction step = TestStep.GetStepByType <WxeFunction> (_nestedLevel2FunctionStep); Assert.That(step, Is.SameAs(_nestedLevel2Function)); }
public void GetStepByTypeForNull() { WxeStep step = TestStep.GetStepByType <WxeStep> (null); Assert.That(step, Is.Null); }