w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Is verifying a mock interaction a good enough test?

Yes. It is called unit testing because you are testing small units of your code. A unit test for a particular class should verify that the class behaves correctly, not other parts of the system. There should be other tests for those parts.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.