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

io.cucumber.java.JavaSnippet Maven / Gradle / Ivy

There is a newer version: 7.20.1
Show newest version
package io.cucumber.java;

import java.text.MessageFormat;

final class JavaSnippet extends AbstractJavaSnippet {

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy