Package bdd.steps

Source Code of bdd.steps.GivWenZenExecutorFunctionalTest

package bdd.steps;

import org.givwenzen.GivWenZen;
import org.givwenzen.GivWenZenExecutor;
import org.givwenzen.annotations.DomainStep;
import org.givwenzen.annotations.DomainSteps;
import org.junit.Test;

@DomainSteps
public final class GivWenZenExecutorFunctionalTest {

  @DomainStep("gwz rocks!")
  public void foo() {}
 
  @Test
  public void shouldExecuteStepsWhenCreatedViaDefaultConstructor() throws Exception {
    //given
    @SuppressWarnings({"deprecation"}) GivWenZen gwz = new GivWenZenExecutor();
    //when
    gwz.given("gwz rocks!");
    //then no exception is thrown
  }
}
TOP

Related Classes of bdd.steps.GivWenZenExecutorFunctionalTest

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.