dbResults.add( new ArchivaArtifact( "org.apache.archiva", "archiva-configuration", "1.0",
null, "jar", "test-repo" ) );
daoControl.expectAndReturn( dao.getArtifactDAO(), artifactDao );
artifactDaoControl.expectAndReturn( artifactDao.queryArtifacts( new ArtifactsByChecksumConstraint( action.getQ() ) ), dbResults );
daoControl.replay();
artifactDaoControl.replay();
String result = action.findArtifact();