Logo Search packages:      
Sourcecode: jmock2 version File versions  Download package

org::jmock::lib::JavaReflectionImposteriser Class Reference

Inheritance diagram for org::jmock::lib::JavaReflectionImposteriser:

org::jmock::api::Imposteriser

List of all members.


Detailed Description

An org.jmock.api.Imposteriser that uses the java.lang.reflect.Proxy class of the Java Reflection API.

Author:
npryce

Definition at line 19 of file JavaReflectionImposteriser.java.


Public Member Functions

boolean canImposterise (Class<?> type)
< T > T imposterise (Invokable mockObject, Class< T > mockedType, Class<?>...ancilliaryTypes)

Static Public Attributes

static final Imposteriser INSTANCE = new JavaReflectionImposteriser()

Package Functions

public< T > T imposterise (final Invokable mockObject, Class< T > mockedType, Class<?>...ancilliaryTypes)

Private Member Functions

Class<?>[] prepend (Class<?> first, Class<?>...rest)

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index