1   package com.eviware.soapui.model.iface;
2   
3   import java.util.Vector;
4   
5   import junit.framework.TestCase;
6   
7   import com.eviware.soapui.model.ModelItem;
8   import com.eviware.soapui.support.types.StringToStringMap;
9   
10  /***
11   * 
12   * @author lars
13   */
14  public class DummyMessageExchange extends TestCase implements MessageExchange
15  {
16     private Operation operation;
17     private ModelItem modelItem;
18     private String requestContent;
19     private String responseContent;
20     
21     public DummyMessageExchange()
22     {}
23     
24     public void testNothing() throws Exception
25     {}
26     
27     public String[] getMessages()
28     {
29        return new String[0];
30     }
31  
32     public ModelItem getModelItem()
33     {
34        return modelItem;
35     }
36  
37     public Operation getOperation()
38     {
39        return operation;
40     }
41  
42     public StringToStringMap getProperties()
43     {
44        return new StringToStringMap();
45     }
46  
47     public Attachment[] getRequestAttachments()
48     {
49        return new Attachment[0];
50     }
51  
52     public String getRequestContent()
53     {
54        return requestContent;
55     }
56  
57     public StringToStringMap getRequestHeaders()
58     {
59        return new StringToStringMap();
60     }
61  
62     public Attachment[] getResponseAttachments()
63     {
64        return new Attachment[0];
65     }
66  
67     public String getResponseContent()
68     {
69        return responseContent;
70     }
71  
72     public StringToStringMap getResponseHeaders()
73     {
74        return new StringToStringMap(); 
75     }
76  
77     public long getTimeTaken()
78     {
79        return 0;
80     }
81  
82     public long getTimestamp()
83     {
84        return 0;
85     }
86  
87     public boolean isDiscarded()
88     {
89        return false;
90     }
91  
92  	public byte[] getRawRequestData()
93  	{
94  		// TODO Auto-generated method stub
95  		return null;
96  	}
97  
98  	public byte[] getRawResponseData()
99  	{
100 		// TODO Auto-generated method stub
101 		return null;
102 	}
103 
104 	public Attachment[] getRequestAttachmentsForPart( String partName )
105 	{
106 		// TODO Auto-generated method stub
107 		return null;
108 	}
109 
110 	public Attachment[] getResponseAttachmentsForPart( String partName )
111 	{
112 		// TODO Auto-generated method stub
113 		return null;
114 	}
115 
116 	public boolean hasRawData()
117 	{
118 		// TODO Auto-generated method stub
119 		return false;
120 	}
121 
122 	public boolean hasRequest( boolean b )
123 	{
124 		// TODO Auto-generated method stub
125 		return false;
126 	}
127 
128 	public boolean hasResponse()
129 	{
130 		// TODO Auto-generated method stub
131 		return false;
132 	}
133 
134 	public Vector getRequestWssResult()
135 	{
136 		// TODO Auto-generated method stub
137 		return null;
138 	}
139 
140 	public Vector getResponseWssResult()
141 	{
142 		// TODO Auto-generated method stub
143 		return null;
144 	}
145 }