@Test
public void setsNameAndVersion() {

    Model model = mock(Model.class);
    actionConverter = mock(ASTNodeConverter.class);
    when(model.getName()).thenReturn(EXAMPLE_NAME);
    when(model.getVersion()).thenReturn(EXAMPLE_VERSION);
    when(model.getActions()).thenReturn(new EListMock<>());
    TraversingBasedASTNodeConverter converter = new TraversingBasedASTNodeConverter(actionConverter);
    ApplicationConfiguration configuration = converter.convert(model);
    assertEquals(EXAMPLE_NAME, configuration.getApplicationName());
    assertEquals(EXAMPLE_VERSION, configuration.getVersion());
}