In your test file, you simply reassign the SQLOpen variable in the source code with your mock implementation right before you call the function under test.
確定! 回上一頁