|
| 1 | +/* |
| 2 | + * Copyright 2021 EPAM Systems |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.epam.reportportal.example.cucumber6.basic.dummy; |
| 18 | + |
| 19 | +import io.cucumber.java.AfterStep; |
| 20 | +import io.cucumber.java.BeforeStep; |
| 21 | +import io.cucumber.java.en.Given; |
| 22 | +import io.cucumber.java.en.Then; |
| 23 | +import org.slf4j.Logger; |
| 24 | +import org.slf4j.LoggerFactory; |
| 25 | +import org.testng.SkipException; |
| 26 | + |
| 27 | +public class EmptySteps { |
| 28 | + private static final Logger LOGGER = LoggerFactory.getLogger(EmptySteps.class); |
| 29 | + @Given("I have empty step") |
| 30 | + public void i_have_empty_step() { |
| 31 | + LOGGER.info("Inside 'I have empty step'"); |
| 32 | + } |
| 33 | + |
| 34 | + @Then("I have another empty step") |
| 35 | + public void i_have_another_empty_step() { |
| 36 | + LOGGER.info("Inside 'I have another empty step'"); |
| 37 | + } |
| 38 | +} |
0 commit comments