
| Check "Method is called", etc. |
| Method Name | Usage |
|---|---|
| assertCalled |
|
| assertNotCalled |
|
| assertArgumentPassed |
|
| Sample of assertCalled and assertNotCalled |
| MethodCallTest(TestCase) | MethodCall(Test target) | ||
|---|---|---|---|
|
|
| Console |
|---|
|
[test001] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 [test002] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 |
| Sample of assertArgumentPassed |
| MethodCallTest(TestCase) | MethodCall(Test target) | ||
|---|---|---|---|
|
|
| Console |
|---|
|
[test001] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 |