package com.github.nsnjson;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.*;

import java.util.*;

public class AbstractFormatTest {

    protected static NullNode getNull() {
        return NullNode.getInstance();
    }

    protected static BooleanNode getBooleanTrue() {
        return BooleanNode.getTrue();
    }

    protected static BooleanNode getBooleanFalse() {
        return BooleanNode.getFalse();
    }

    protected static NumericNode getNumberInt() {
        return new IntNode(new Random().nextInt());
    }

    protected static NumericNode getNumberLong() {
        return new LongNode(new Random().nextLong());
    }

    protected static NumericNode getNumberDouble() {
        return new DoubleNode(new Random().nextDouble());
    }

    protected static TextNode getEmptyString() {
        return new TextNode("");
    }

    protected static TextNode getString() {
        return new TextNode(UUID.randomUUID().toString().replaceAll("-", ""));
    }

    protected static ArrayNode getEmptyArray() {
        return new ObjectMapper().createArrayNode();
    }

    protected static ObjectNode getEmptyObject() {
        return new ObjectMapper().createObjectNode();
    }

}
@@ -1120,32 +1120,395 @@
 yNode();%0A    %7D%0A%0A
+    protected static ArrayNode getArray() %7B%0A        ArrayNode array = getEmptyArray();%0A        array.add(getNull());%0A        array.add(getBooleanTrue());%0A        array.add(getBooleanFalse());%0A        array.add(getNumberInt());%0A        array.add(getNumberLong());%0A        array.add(getNumberDouble());%0A        array.add(getString());%0A%0A        return array;%0A    %7D%0A%0A
     protected st

Implement method { AbstractFormatTest @ getArray }