@Test
public void createNewStatefulVersion() throws Exception {

    this.setRevisionTo("eb37f5cfec50c046985eac308e46482ce8bea8e3");
    String response = this.assertPostWithNoContent("servicetemplates/http%253A%252F%252Fplain.winery.opentosca.org%252Fservicetemplates/ServiceTemplateWithOneNodeTemplate_w1-wip1/createnewstatefulversion", ContentType.JSON);
    QNameApiData newId = JacksonProvider.mapper.readValue(response, QNameApiData.class);
    assertNonNull(newId);
    WineryVersion version = VersionUtils.getVersion(newId.localname);
    assertNonNull(version);
    assertTrue(version.getComponentVersion().startsWith("stateful-w1-wip1-"));
}