mkarg commented on a change in pull request #421:
URL: https://github.com/apache/maven/pull/421#discussion_r563147511



##########
File path: maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
##########
@@ -86,6 +87,16 @@
 
     void setFile( File destination );
 
+    default Path getPath()

Review comment:
       The reason is that it is *necessary* to test that `setPath` actually 
invokes `setFile` as this is *what I have coded* in the default method and what 
get executed one you do *not* implement `setPath`. And only THAT case is what I 
MUST test, everything is something *differen* that you can add in *another* 
test ontop.




----------------------------------------------------------------
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:
[email protected]


Reply via email to