def METHOD_NAME(self):
    """Verify that a workfunction will raise when an unstored node is returned."""
    @workfunction
    def test_workfunction():
        return Int(2)
    with pytest.raises(ValueError):
        test_workfunction.run_get_node()