public final ArrayNode expectArrayNode() {
        return expectArrayNode((String) null);
    }
Casts the current node to an {@code ArrayNode}.

@return Returns an array node.
@throws ExpectationNotMetException when the node is not an {@code ArrayNode}.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java