@ Override @ Beta public < T > T Spy ( Class < T > type ) { invalidMockCreation ( ) ; return null ; }
Creates a spy with the specified type . If enclosed in a variable assignment the variable name will be used as the spy s name .