You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/28 08:48:14 UTC
[GitHub] chetanmeh commented on a change in pull request #3366: Adds method deleteAttachments to ArtifactStore
chetanmeh commented on a change in pull request #3366: Adds method deleteAttachments to ArtifactStore
URL: https://github.com/apache/incubator-openwhisk/pull/3366#discussion_r171174734
##########
File path: tests/build.gradle
##########
@@ -66,7 +66,8 @@ dependencies {
compile 'org.scalamock:scalamock-scalatest-support_2.11:3.4.2'
compile 'com.typesafe.akka:akka-testkit_2.11:2.4.16'
compile 'com.typesafe.akka:akka-http-testkit_2.11:10.0.10'
- compile 'com.github.java-json-tools:json-schema-validator:2.2.8';
+ compile 'com.github.java-json-tools:json-schema-validator:2.2.8'
+ compile "org.mockito:mockito-core:2.15.0"
Review comment:
Checked scalamock but did not found any way to [spy][1] on existing object which I require in the test.
Scalamock can mock any interface or class but looks like does not provide a way to proxy an existing object and check interactions that happen with that object
[1]: http://static.javadoc.io/org.mockito/mockito-core/2.15.0/org/mockito/Mockito.html#13
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services