    @Test
    public void parametersError() {

        String fakeError = "[\n" +
                "    {\n" +
                "        \"type\": \"PARAMETERS_ERROR\",\n" +
                "        \"message\": \"Fake error message\",\n" +
                "        \"tip\": \"Fake error type\"\n" +
                "    }\n" +
                "]";
        Error error = ErrorUtils.parseError(fakeError);
        collector.checkThat("error type", error.getType(), is("PARAMETERS_ERROR"));
        collector.checkThat("error message", error.getMessage(), is("Fake error message"));
        collector.checkThat("error tip", error.getTip(), is("Fake error type"));
    }