When you want to unit test a method it's usually pretty simple. Call the method, pass it it's parameters and assert against it's return value, ...
確定! 回上一頁