...
Name | Expected result | Parameters | Actual result | Success | Comments | |
---|---|---|---|---|---|---|
1 | addGraphTest() | Returns a 200 status code back to the user. | tabID = 1 graphID = 1 graphType = "line" | Returns a 200 response code, which means that the response is OK. | Yes | |
2 | deleteGraphTest() | Returns a 200 status code back to the user. | Returns a 200 response code, which means that the response is OK. | Yes (see comments) | This method does work, but doesn't test if it works with a wrong input given. This is because the thrown exception gets mapped by the mapper with the Provider annotation. This test strictly tests if the mapper does return the 403 code given by the user. |
...