KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmock > cglib > Mock


1 /* Copyright (c) 2000-2004 jMock.org
2  */

3 package org.jmock.cglib;
4
5 import org.jmock.core.DynamicMock;
6
7
8 public class Mock extends org.jmock.Mock
9 {
10     public Mock( Class JavaDoc mockedType ) {
11         this(new CGLIBCoreMock(mockedType));
12     }
13
14     public Mock( Class JavaDoc mockedType, String JavaDoc name ) {
15         this(new CGLIBCoreMock(mockedType, name));
16     }
17
18     public Mock( DynamicMock coreMock ) {
19         super(coreMock);
20     }
21 }
22
Popular Tags