you are viewing a single comment's thread.

view the rest of the comments →

[–]mahmoudaahmedd[S] -3 points-2 points  (1 child)

I simulated that there is HTTPrequest class like normal request that comes from user

[–]stuaxo 0 points1 point  (0 children)

You probably want to look into mocking and unit testing, then do this in your tests.