1 package com.mockobjects.vaj; 2 3 import com.ibm.ivj.util.base.*; 4 import com.ibm.ivj.util.builders.*; 5 import junit.framework.*; 6 import java.util.*; 7 8 import com.mockobjects.*; 9 10 public class MockMethodBuilder extends MockObject implements MethodBuilder { 11 private SourceVerifier mySourceVerifier; 12 private String myBuilderName; 13 14 15 public MockMethodBuilder(SourceVerifier verfier, String builderName) { 16 super(); 17 18 mySourceVerifier = verfier; 19 myBuilderName = builderName; 20 } 21 22 25 public void addMethodBuilder(MethodBuilder arg1) {} 26 27 30 public boolean checkMethodExists(MethodBuilder arg1) throws IvjException { 31 return false; 32 } 33 34 37 public String getBuilderName() { 38 return myBuilderName; 39 } 40 41 44 public com.ibm.ivj.util.builders.MethodBuilder[] getExistingMethods() throws IvjException { 45 return null; 46 } 47 48 51 public String getExistingMethodSource(MethodBuilder arg1) throws IvjException { 52 return null; 53 } 54 55 58 public String getExistingSource() throws IvjException { 59 return null; 60 } 61 62 65 public java.util.Enumeration getMethodBuilders() { 66 return null; 67 } 68 69 72 public String getSource() { 73 return null; 74 } 75 76 79 public boolean isMarkedForDeletion() { 80 return false; 81 } 82 83 86 public void markForDeletion(boolean arg1) {} 87 88 91 public void removeAllMethodBuilders() {} 92 93 96 public void removeMethodBuilder(MethodBuilder arg1) {} 97 98 101 public void saveMerge() throws IvjException {} 102 103 106 public void setSource(String source) { 107 mySourceVerifier.setSource(myBuilderName,source); 108 } 109 110 113 public void verify() {} 114 } 115 | Popular Tags |