generator.server.springboot.mvc.sample.feature.test.HttpSteps.mustache Maven / Gradle / Ivy
package {{packageName}};
import static {{packageName}}.cucumber.rest.CucumberRestAssertions.*;
import io.cucumber.java.en.Then;
import org.springframework.http.HttpStatus;
public class HttpSteps {
@Then("I should be forbidden")
public void shouldBeForbidden() {
assertThatLastResponse().hasHttpStatus(HttpStatus.FORBIDDEN);
}
}