Ejemplo n.º 1
0
        public void GetStepByTypeForWrongType()
        {
            TestFunctionWithInvalidSteps step = TestStep.GetStepByType <TestFunctionWithInvalidSteps> (_nestedLevel2FunctionStep);

            Assert.That(step, Is.Null);
        }
Ejemplo n.º 2
0
        public void GetStepByTypeForTestStep()
        {
            TestStep step = TestStep.GetStepByType <TestStep> (_standAloneStep);

            Assert.That(step, Is.SameAs(_standAloneStep));
        }
Ejemplo n.º 3
0
        public void GetStepByTypeForWxeFunction()
        {
            WxeFunction step = TestStep.GetStepByType <WxeFunction> (_nestedLevel2FunctionStep);

            Assert.That(step, Is.SameAs(_nestedLevel2Function));
        }
Ejemplo n.º 4
0
        public void GetStepByTypeForNull()
        {
            WxeStep step = TestStep.GetStepByType <WxeStep> (null);

            Assert.That(step, Is.Null);
        }