Skip to content

Commit

Permalink
It is Run.addAction which calls onAttached, which Mockito apparently …
Browse files Browse the repository at this point in the history
…does not grok.
  • Loading branch information
jglick committed Dec 10, 2013
1 parent 0dc90f1 commit 22bf01e
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -363,7 +363,6 @@ public void testGetContainerNoMetadataOnBuildCreate() throws Exception {

MetadataParent container = CliUtils.getContainer(null, "theJob", 1, true);
assertNotNull(container);
assertSame(build, Whitebox.getInternalState(container, "run"));
verify(build).addAction(isA(MetadataBuildAction.class));
}

Expand Down

0 comments on commit 22bf01e

Please sign in to comment.