I have a utility class in my plugin that has a constructor like this:
MyUtility(ArtifactRepository repository, MavenProject project, Log logger)

I want to write tests for the class. How do I go about getting the repository, project and logger created so I can call the constructor on the class and run unit tests against it?

What is a good document on testing mojo's.  I've been looking and can not seem 
to find one.

Thanks in advance for any help :->
--
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to