@Test public void exposes_source() { String expr = "I have {int} cuke(s)"; assertEquals(expr, new CucumberExpression(expr, new ParameterTypeRegistry(Locale.ENGLISH)).getSource()); }
@Override public String getSource() { return source; }
CucumberExpression implements Expression { @Override public String getSource() { return source; } }
CucumberExpression implements Expression { @Override public String getSource() { return source; } CucumberExpression(String expression, ParameterTypeRegistry parameterTypeRegistry); }
CucumberExpression implements Expression { @Override public String getSource() { return source; } CucumberExpression(String expression, ParameterTypeRegistry parameterTypeRegistry); @Override List<Argument<?>> match(String text, Type... typeHints); @Override String getSource(); @Override Pattern getRegexp(); }
CucumberExpression implements Expression { @Override public String getSource() { return source; } CucumberExpression(String expression, ParameterTypeRegistry parameterTypeRegistry); @Override List<Argument<?>> match(String text, Type... typeHints); @Override String getSource(); @Override Pattern getRegexp();  }