code: @SuppressWarnings("unchecked")
      private <T> T asMockedType(@SuppressWarnings("unused") T mockObject, 
                                 Object capturingImposter) 
      {
          return (T) capturingImposter;
      }
docs: Damn you Java generics! Damn you to HELL!