Class TestFailPlan


  • public class TestFailPlan
    extends Plan
    Test if the fail() method works ok. Calling fail() in a plan body is equal to throw a new PlanFailureException(). Note, that in the cleanup methods (passed, failed, aborted) no agent method calls are allowed.
    • Constructor Detail

      • TestFailPlan

        public TestFailPlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan
      • failed

        public void failed()
        Called when the plan has failed.
        Overrides:
        failed in class Plan