KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > service > core > LookupManagerTest


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.service.core;
17
18 import com.blandware.atleap.persistence.core.LookupDAO;
19 import com.blandware.atleap.service.core.impl.LookupManagerImpl;
20 import org.jmock.Mock;
21
22
23 /**
24  * <p>This class is used to test current implementation of LookupManager interface</p>
25  * <p><a HREF="BaseManagerTestCase.java.htm"><i>View Source</i></a></p>
26  *
27  * @author Matt Raible <a HREF="mailto:matt@raibledesigns.com">&lt;matt@raibledesigns.com&gt;</a>
28  * @version $Revision: 1.4 $ $Date: 2006/03/12 08:46:06 $
29  * @see com.blandware.atleap.service.core.LookupManager
30  */

31 public class LookupManagerTest extends BaseManagerTestCase {
32     private LookupManagerImpl mgr = new LookupManagerImpl();
33
34     protected void setUp() throws Exception JavaDoc {
35         super.setUp();
36         Mock lookupDAO = new Mock(LookupDAO.class);
37         mgr.setLookupDAO((LookupDAO) lookupDAO.proxy());
38     }
39
40     /**
41      * Silly method - just does nothing, but JUnit will not fail on this class
42      */

43     public void testNothing() {
44     }
45 }
46
Popular Tags