All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cucumber.java8.Java8Snippet Maven / Gradle / Ivy

The newest version!
package io.cucumber.java8;

import java.text.MessageFormat;

final class Java8Snippet extends AbstractJavaSnippet {

    @Override
    public MessageFormat template() {
        return new MessageFormat("" +
                "{0}(\"{1}\", ({3}) -> '{'\n" +
                "    // {4}\n" +
                "{5}    throw new " + PendingException.class.getName() + "();\n" +
                "'}');");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy