Package org.jbehave.core.story

Examples of org.jbehave.core.story.SimpleStory.specify()


    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
Copyright © 2018 www.massapi.com. 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.