It's very unlikely that a class without a noSuchMethod is a Mock. It is much more likely to be a stub or a fake. If we can trust that these terms are used precisely it's easier to read test code, but it's a very prevalent mistake to name a stub or fake as MockSomething. We could look for a good reference explaining the difference in these terms and point the lint at it since it's a good way to spread knowledge.
It's very unlikely that a class without a noSuchMethod is a Mock. It is much more likely to be a stub or a fake. If we can trust that these terms are used precisely it's easier to read test code, but it's a very prevalent mistake to name a stub or fake as
MockSomething
. We could look for a good reference explaining the difference in these terms and point the lint at it since it's a good way to spread knowledge.