function TestPlan.findNodes(p,z)local u={}p:visitAllNodes(function(p)if z(p)then table.insert(u,p)end end)return u end return TestPlan

function TestPlan:findNodes(callback)
	local results = {}
	self:visitAllNodes(function(node)
		if callback(node) then
			table.insert(results, node)
		end
	end)
	return results
end

return TestPlan
