public function test_get_customer_invalid_id() { wp_set_current_user(1); $response = $this->server->dispatch(new WP_REST_Request('GET', '/wc/v1/customers/0')); $this->assertEquals(404, $response->get_status()); }