@Test
public void flattenUnaryExpression() {

    List<Node> actual = flattenScope(MockTypeResolver.INSTANCE, expr("getMessageId"));
    List<Node> expected = Collections.singletonList(new NameExpr("getMessageId"));
    compareArrays(actual, expected);
}