title: How can I test final and static methods of a utility project?
body: <p>I'm trying to implement unit testing for aproject, it uses a legacy "utility" project that is littered with static methods and  many of the classes are final or their methods are final. I'm not able to update the legacy project at all.</p>
  
  <p>JMock and EasyMock both choke on final methods, and I don't see a nice way to test the static calls. What techniques are there to test these?</p>