title: Strategy for intercepting signed classes
body: <p>I'm trying to make a concurrent test for com.microsoft.azure.eventprocessorhost.PartitionContext which has a multi-parameter package-protected constructor in a signed jar.</p>
  
  <p>I'd like to basically ignore that constructor (or pass it nulls) and override one method to increment a counter. The class isn't final, and neither is the constructor or the method in question.</p>
  
  <p>Subclassing that directly results in a security exception due to the signing. I've looked at various examples, and played with a local version of ByteBuddyTutorialExamplesTest, but do no avail.</p>
  
  <p>At the moment, I'm considering giving up and instead intercepting the call site to that class. That said, it would be handy to have a fake version of the target (PartitionContext).</p>
  
  <p>Am I missing any tricks, or is what I'm trying to accomplish not possible?</p>