@Test
public void testMultipleOpsWithInOutParams() throws Exception {

    TInterface i = new TInterface();
    i.setName("http://www.example.org/interfaces/lifecycle");
    TOperation op;
    TOperation.InputParameters input;
    TOperation.OutputParameters output;
    TParameter param;
    op = new TOperation();
    op.setName("install");
    i.getOperation().add(op);
    input = new TOperation.InputParameters();
    param = new TParameter();
    param.setName("VMIP");
    param.setType("xs:string");
    input.getInputParameter().add(param);
    param = new TParameter();
    param.setName("DBMSUsername");
    param.setType("xs:string");
    input.getInputParameter().add(param);
    op.setInputParameters(input);
    output = new TOperation.OutputParameters();
    param = new TParameter();
    param.setName("Output");
    param.setType("xs:string");
    output.getOutputParameter().add(param);
    op.setOutputParameters(output);
    op = new TOperation();
    op.setName("uninstall");
    i.getOperation().add(op);
    input = new TOperation.InputParameters();
    param = new TParameter();
    param.setName("SomeLongParameterName");
    param.setType("xs:string");
    input.getInputParameter().add(param);
    param = new TParameter();
    param.setName("Port");
    param.setType("xs:string");
    input.getInputParameter().add(param);
    op.setInputParameters(input);
    op.setOutputParameters(output);
    Generator gen = new Generator(i, "org.opentosca.ia.test", new URL("http://test.com"), "TestMultipleOpsWithInOutParams", wd.toFile());
    gen.generateProject();
}