@ Override public < T > T Stub ( Map < String , Object > options , Class < T > type ) { return createMock ( inferNameFromType ( type ) , type , MockNature . STUB , options ) ; }
Creates a stub with the specified options and type . The mock name will be the types simple name .