elharo commented on pull request #421:
URL: https://github.com/apache/maven/pull/421#issuecomment-765992624


   It is not necessary to test that setPath actually invokes setFile. Indeed it 
is a **bad idea** to test that setPath  invokes setFile. Testing the 
implementation instead of the behavior leads to brittle tests that are tightly 
coupled to private implementation details. 
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to