@Test(expected = BadUsageKeywordException.class)
public void getPropertyWrongDefOrUSageTest() throws Throwable {

    String computeName = "comp_tomcat_war";
    PaaSNodeTemplate computePaaS = builtPaaSNodeTemplates.get(computeName);
    Operation configOp = computePaaS.getIndexedToscaElement().getInterfaces().get(ToscaNodeLifecycleConstants.STANDARD).getOperations()
            .get(ToscaNodeLifecycleConstants.CONFIGURE);
    // case keyword SOURCE used on a NodeType
    IValue param = configOp.getInputParameters().get("keywordSourceBadUsage");
    try {
        FunctionEvaluator.evaluateGetPropertyFunction((FunctionPropertyValue) param, computePaaS, builtPaaSNodeTemplates);
    } catch (BadUsageKeywordException e) {
        // case keyword TARGET used on a NodeType
        param = configOp.getInputParameters().get("KeywordTargetBadUsage");
        FunctionEvaluator.evaluateGetPropertyFunction((FunctionPropertyValue) param, computePaaS, builtPaaSNodeTemplates);
    }
}