Join Slack
Powered by
HI how can I test this method isOpenOrClosed? Name...
# test
i
ivano
11/01/2018, 7:19 AM
HI how can I test this method isOpenOrClosed? Namely this `when`:
n
natpryce
11/01/2018, 9:32 AM
You could extract the logic you want to test into a function to which you pass an int
i
ivano
11/01/2018, 10:11 AM
thank you very much, so I am going to refactor my existing code
Open in Slack
Previous
Next