@@ -147,25 +147,25 @@ public void testProcessSchema() throws Exception {
147
147
@ Test
148
148
public void testProcessRefProperty_ExternalRef () throws Exception {
149
149
150
- final ExternalRefProcessor [] erp = {new ExternalRefProcessor (cache , openAPI )};
150
+ final ExternalRefProcessor [] externalRefProcessor1 = {new ExternalRefProcessor (cache , openAPI )};
151
151
new Expectations () {{
152
- erp [0 ] = new ExternalRefProcessor (cache , openAPI );
152
+ externalRefProcessor1 [0 ] = new ExternalRefProcessor (cache , openAPI );
153
153
times = 1 ;
154
154
}};
155
155
156
156
final String ref = "http://my.company.com/path/to/file.json#/foo/bar" ;
157
157
final Schema refProperty = new Schema ().$ref (ref );
158
158
159
159
new Expectations () {{
160
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
160
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
161
161
times = 1 ;
162
162
result = "bar" ;
163
163
}};
164
164
165
165
new SchemaProcessor (cache , openAPI ).processSchema (refProperty );
166
166
167
167
new FullVerifications () {{
168
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
168
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
169
169
times = 1 ;
170
170
}};
171
171
@@ -191,9 +191,9 @@ public void testProcessRefProperty_InternalRef() throws Exception {
191
191
192
192
@ Test
193
193
public void testProcessArrayProperty_ItemsIsRefProperty () throws Exception {
194
- final ExternalRefProcessor [] erp = {new ExternalRefProcessor (cache , openAPI )};
194
+ final ExternalRefProcessor [] externalRefProcessor1 = {new ExternalRefProcessor (cache , openAPI )};
195
195
new Expectations () {{
196
- erp [0 ] = new ExternalRefProcessor (cache , openAPI );
196
+ externalRefProcessor1 [0 ] = new ExternalRefProcessor (cache , openAPI );
197
197
times = 1 ;
198
198
}};
199
199
final String ref = "http://my.company.com/path/to/file.json#/foo/bar" ;
@@ -202,15 +202,15 @@ public void testProcessArrayProperty_ItemsIsRefProperty() throws Exception {
202
202
ArraySchema arrayProperty = new ArraySchema ();
203
203
arrayProperty .setItems (refProperty );
204
204
new Expectations () {{
205
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
205
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
206
206
times = 1 ;
207
207
result = "bar" ;
208
208
}};
209
209
210
210
new SchemaProcessor (cache , openAPI ).processSchema (arrayProperty );
211
211
212
212
new FullVerifications () {{
213
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
213
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
214
214
times = 1 ;
215
215
}};
216
216
@@ -220,9 +220,9 @@ public void testProcessArrayProperty_ItemsIsRefProperty() throws Exception {
220
220
221
221
@ Test
222
222
public void testProcessMapProperty_AdditionalPropertiesIsRefProperty () throws Exception {
223
- final ExternalRefProcessor [] erp = {new ExternalRefProcessor (cache , openAPI )};
223
+ final ExternalRefProcessor [] externalRefProcessor1 = {new ExternalRefProcessor (cache , openAPI )};
224
224
new Expectations () {{
225
- erp [0 ] = new ExternalRefProcessor (cache , openAPI );
225
+ externalRefProcessor1 [0 ] = new ExternalRefProcessor (cache , openAPI );
226
226
times = 1 ;
227
227
}};
228
228
final String ref = "http://my.company.com/path/to/file.json#/foo/bar" ;
@@ -231,15 +231,15 @@ public void testProcessMapProperty_AdditionalPropertiesIsRefProperty() throws Ex
231
231
refProperty .setAdditionalProperties (refProperty );
232
232
233
233
new Expectations () {{
234
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
234
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
235
235
times = 1 ;
236
236
result = "bar" ;
237
237
}};
238
238
239
239
new SchemaProcessor (cache , openAPI ).processSchema (refProperty );
240
240
241
241
new FullVerifications () {{
242
- erp [0 ].processRefToExternalSchema (ref , RefFormat .URL );
242
+ externalRefProcessor1 [0 ].processRefToExternalSchema (ref , RefFormat .URL );
243
243
times = 1 ;
244
244
}};
245
245
0 commit comments