1 package org.kuali.student.lum.course.service.impl; 2 3 import java.util.ArrayList; 4 import java.util.List; 5 import java.util.Stack; 6 7 import org.kuali.student.r1.common.dictionary.dto.FieldDefinition; 8 import org.kuali.student.r1.common.dictionary.dto.ObjectStructureDefinition; 9 import org.kuali.student.r2.common.dto.ContextInfo; 10 import org.kuali.student.r2.common.dto.ValidationResultInfo; 11 import org.kuali.student.r2.common.validator.DefaultValidatorImpl; 12 13 public class MockDefaultValidatorImpl extends DefaultValidatorImpl 14 { 15 16 17 @Override 18 public List<ValidationResultInfo> validateObject (Object o, 19 ObjectStructureDefinition objStructure, ContextInfo contextInfo) 20 { 21 return new ArrayList (); 22 } 23 24 @Override 25 public List<ValidationResultInfo> validateObject (FieldDefinition field, 26 Object o, 27 ObjectStructureDefinition objStructure, 28 Stack<String> elementStack, ContextInfo contextInfo) 29 { 30 return new ArrayList (); 31 } 32 }