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