@Test
public void injectNodeTemplatePropertiesAsInputs() throws Exception {

    // NodeType nodeType = buildFakeNodeType("test.node.fake1", "1");
    PaaSNodeTemplate paaSNodeTemplate = buildPaaSNodeTemplate();
    PaaSUtils.processNodeTemplateProperties(paaSNodeTemplate);
    Operation operation = paaSNodeTemplate.getInterfaces().get(interface1).getOperations().get(operation1);
    Assert.assertNotNull(operation.getInputParameters());
    // assert all node properties are inputs properties
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + fake1));
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + fake5));
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + fake2));
    // complex property should not be there
    Assert.assertFalse(operation.getInputParameters().containsKey(fake3));
    // assert that the property from the operation has not been overrided
    Assert.assertEquals(operation.getInputParameters().get(fake1), new ScalarPropertyValue("1_from_operation"));
    // check capabilities inputs
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + generateCapaInputName(fakeCapa1, fake1)));
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + generateCapaInputName(fakeCapa1, fake3)));
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + generateCapaInputName(fakeCapa1, fake2)));
    Assert.assertTrue(operation.getInputParameters().containsKey(SELF + generateCapaInputName(fakeCapa1, fake5)));
}