pattern.getIdentifier() );
assertTrue( pattern.isUnification() );
assertEquals( 2,
pattern.getBindings().size() );
BindingDescr bindingDescr = pattern.getBindings().get( 0 );
assertEquals( "$name",
bindingDescr.getVariable() );
assertEquals( "name",
bindingDescr.getExpression() );
assertTrue( bindingDescr.isUnification() );
bindingDescr = pattern.getBindings().get( 1 );
assertEquals( "$loc",
bindingDescr.getVariable() );
assertEquals( "location",
bindingDescr.getExpression() );
assertFalse( bindingDescr.isUnification() );
}