@ Override public < T > T Mock ( Class < T > type ) { return createMock ( inferNameFromType ( type ) , type , MockNature . MOCK , Collections . < String , Object > emptyMap ( ) ) ; }
Creates a mock with the specified type . The mock name will be the types simple name .