How can you verify a mocked object is not invoked at all? I am trying to test the empty implementation of an interface method using Mockito.
Answer
See Mockito API Article 7. Making sure interaction(s) never happened on mock
I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...
No comments:
Post a Comment