404 para pedido inexistente quando logado como admin

    @Test
    public void findByIdShouldReturnNotFoundWhenOrderDontExistLoggedAsAdmin() throws Exception {
        ResultActions result =

                mockMvc.perform(get("/orders/{id}", nonExistingId)
                        .header("Authorization", "Bearer " + adminToken)
                        .accept(MediaType.APPLICATION_JSON));
        result.andExpect(status().isNotFound());
    }

Atualizado