@Test
public void returnNameWithArgumentPlaceholdersTest() {

    when(step.getName()).thenReturn("This is a name with an argument inside.");
    Result result = mock(Result.class);
    List<Argument> arguments = new ArrayList<>();
    Argument argument = new Argument();
    argument.setVal("argument");
    arguments.add(argument);
    when(step.getArguments()).thenReturn(arguments);
    step.setResult(result);
    assertThat(step.returnNameWithArgumentPlaceholders(), is("This is a name with an {} inside."));
}