Insere produto com dados válidos quando logado como admin

    @Test
    public void insertShouldReturnProductCreatedWhenAdminLogged() {

        JSONObject newProduct = new JSONObject(postProductInstance);

        String productAsString = newProduct.toString();


        given()
                //isso serve para especificar o tipo da informação
                .header("Content-type", "application/json")
                .header("Authorization", "Bearer " + adminToken)
                .body(productAsString)
                .contentType(ContentType.JSON)
                .accept(ContentType.JSON)
        .when()
                .post("/products")
        .then()
                .statusCode(201)
                .body("name", equalTo("Meu produto"))
                .body("price", is(50.0F))
                .body("categories.id", hasItems(2, 3));

    }

Atualizado