def METHOD_NAME(
        self,
        deviceupdate_endpoint,
        deviceupdate_instance_id
):
    client = self.create_client(endpoint=deviceupdate_endpoint, instance_id=deviceupdate_instance_id)
    try:
        client.device_management.get_device("foo")
        pytest.fail("NotFound response expected")
    except ResourceNotFoundError as e:
        assert 404 == e.status_code