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