Package org.jbehave.core.story

Examples of org.jbehave.core.story.SimpleStory$ICrossMyFingers


    ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
    PrintStream printStream = new PrintStream(byteStream);
   
    PlainTextRenderer renderer = new PlainTextRenderer(printStream);
   
    ScenarioDrivenStory story = new SimpleStory();
        story.specify();
    story.narrateTo(renderer);
   
    String result = byteStream.toString();
   
    ensureThat(result, eq(SimpleStory.expectedDescription()));
  }
View Full Code Here

TOP

Related Classes of org.jbehave.core.story.SimpleStory$ICrossMyFingers

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.