Clover Coverage Report - Kuali Student 1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:02:59 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
3   54   3   1
0   18   1   3
3     1  
1    
 
  MockDictionaryService       Line # 30 3 0% 3 0 100% 1.0
 
  (4)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.assembly.dictionary;
17   
18    import java.util.List;
19   
20    import org.kuali.student.core.dictionary.dto.ObjectStructureDefinition;
21    import org.kuali.student.core.dictionary.service.DictionaryService;
22   
23   
24    /**
25    * This is a description of what this class does - Will Gomes don't forget to fill this in.
26    *
27    * @author Kuali Student Team
28    *
29    */
 
30    public class MockDictionaryService implements DictionaryService{
31   
32    private DictionaryService dictionaryServiceDelegate;
33   
34    /**
35    * @see org.kuali.student.core.dictionary.service.old.DictionaryService#getObjectStructure(java.lang.String)
36    */
 
37  15 toggle @Override
38    public ObjectStructureDefinition getObjectStructure(String objectTypeKey) {
39  15 return dictionaryServiceDelegate.getObjectStructure(objectTypeKey);
40    }
41   
42    /**
43    * @see org.kuali.student.core.dictionary.service.old.DictionaryService#getObjectTypes()
44    */
 
45  4 toggle @Override
46    public List<String> getObjectTypes() {
47  4 return dictionaryServiceDelegate.getObjectTypes();
48    }
49   
 
50  4 toggle public void setDictionaryServiceDelegate(DictionaryService dictionaryServiceDelegate) {
51  4 this.dictionaryServiceDelegate = dictionaryServiceDelegate;
52    }
53   
54    }