@Test
public void concatOfAnGetSecretShouldFailed() {

    FunctionEvaluatorContext context = getEvaluationContext();
    NodeTemplate template = context.getTopology().getNodeTemplates().get("my_node");
    AbstractPropertyValue resolved = FunctionEvaluator.tryResolveValue(context, template, template.getProperties(), template.getProperties().get("concat_prop_and_get_secret"));
    Assert.assertNotNull(resolved);
    Assert.assertEquals(ConcatPropertyValue.class, resolved.getClass());
    ConcatPropertyValue resolvedConcat = (ConcatPropertyValue) resolved;
    Assert.assertEquals(ScalarPropertyValue.class, resolvedConcat.getParameters().get(0).getClass());
    Assert.assertEquals(FunctionPropertyValue.class, resolvedConcat.getParameters().get(1).getClass());
}