KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > jmock > core > CoreMockTest


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

3 package test.jmock.core;
4
5 import org.jmock.core.CoreMock;
6 import org.jmock.core.DynamicMock;
7 import org.jmock.core.InvocationDispatcher;
8
9
10 public class CoreMockTest extends AbstractDynamicMockTest
11 {
12     protected DynamicMock createDynamicMock( String JavaDoc name, InvocationDispatcher dispatcher ) {
13         return new CoreMock( DummyInterface.class, name, dispatcher );
14     }
15
16     protected Class JavaDoc mockedType() {
17         return DummyInterface.class;
18     }
19 }
20
Popular Tags