Co-Authored-By: KnowOne134 <35616771+KnowOne134@users.noreply.github.com> Co-Authored-By: InoUno <774909+InoUno@users.noreply.github.com> Co-Authored-By: Corey <2593549+cocosolos@users.noreply.github.com>
17 lines
378 B
Lua
17 lines
378 B
Lua
---@meta
|
|
|
|
-- luacheck: ignore 241
|
|
---@class CStub : CSpy
|
|
local CStub = {}
|
|
|
|
---Set a return value for the stub
|
|
---@param value any Value to return when stub is called
|
|
---@return nil
|
|
function CStub:returnValue(value)
|
|
end
|
|
|
|
---Set a side effect function for the stub
|
|
---@param func function Function to execute when stub is called
|
|
---@return nil
|
|
function CStub:sideEffect(func)
|
|
end
|