@@ -99,10 +99,10 @@ public function testSave()
9999 /**
100100 * @depends testSave
101101 */
102- public function testRemoteObject ()
102+ public function testProxyObject ()
103103 {
104104 $ container = $ this ->containerFixture ();
105- $ object = $ container ->remoteObject (self ::FNAME );
105+ $ object = $ container ->proxyObject (self ::FNAME );
106106
107107 $ this ->assertEquals (self ::FNAME , $ object ->name ());
108108 $ this ->assertEquals (self ::FTYPE , $ object ->contentType ());
@@ -135,12 +135,12 @@ public function testRemoteObject()
135135
136136
137137 /**
138- * @depends testRemoteObject
138+ * @depends testProxyObject
139139 */
140140 public function testRefresh ()
141141 {
142142 $ container = $ this ->containerFixture ();
143- $ object = $ container ->remoteObject (self ::FNAME );
143+ $ object = $ container ->proxyObject (self ::FNAME );
144144
145145 $ content = (string ) $ object ->content ();
146146 $ object ->setContent ('FOO ' );
@@ -155,7 +155,7 @@ public function testRefresh()
155155 }
156156
157157 /**
158- * @depends testRemoteObject
158+ * @depends testProxyObject
159159 */
160160 public function testObject ()
161161 {
@@ -318,12 +318,12 @@ public function testObjectsWithPath()
318318 }
319319
320320 /**
321- * @depends testRemoteObject
321+ * @depends testProxyObject
322322 */
323323 public function testUpdateMetadata ()
324324 {
325325 $ container = $ this ->containerFixture ();
326- $ object = $ container ->remoteObject (self ::FNAME );
326+ $ object = $ container ->proxyObject (self ::FNAME );
327327
328328 $ md = $ object ->metadata ();
329329
@@ -335,7 +335,7 @@ public function testUpdateMetadata()
335335
336336 $ container ->updateMetadata ($ object );
337337
338- $ copy = $ container ->remoteObject (self ::FNAME );
338+ $ copy = $ container ->proxyObject (self ::FNAME );
339339
340340 $ this ->assertEquals ('456 ' , $ md ['Foo ' ]);
341341 $ this ->assertEquals ('bert ' , $ md ['Bar ' ]);
@@ -348,16 +348,16 @@ public function testUpdateMetadata()
348348 }
349349
350350 /**
351- * @depends testRemoteObject
351+ * @depends testProxyObject
352352 */
353353 public function testCopy ()
354354 {
355355 $ container = $ this ->containerFixture ();
356- $ object = $ container ->remoteObject (self ::FNAME );
356+ $ object = $ container ->proxyObject (self ::FNAME );
357357
358358 $ container ->copy ($ object , 'FOO-1.txt ' );
359359
360- $ copy = $ container ->remoteObject ('FOO-1.txt ' );
360+ $ copy = $ container ->proxyObject ('FOO-1.txt ' );
361361
362362 $ this ->assertEquals ($ object ->contentType (), $ copy ->contentType ());
363363 $ this ->assertEquals ($ object ->etag (), $ copy ->etag ());
@@ -383,13 +383,13 @@ public function testCopyAcrossContainers()
383383
384384 // Get teh old container and its object.
385385 $ container = $ this ->containerFixture ();
386- $ object = $ container ->remoteObject (self ::FNAME );
386+ $ object = $ container ->proxyObject (self ::FNAME );
387387
388388 $ ret = $ container ->copy ($ object , 'foo-1.txt ' , $ cname );
389389
390390 $ this ->assertTrue ($ ret );
391391
392- $ copy = $ newContainer ->remoteObject ('foo-1.txt ' );
392+ $ copy = $ newContainer ->proxyObject ('foo-1.txt ' );
393393
394394 $ this ->assertEquals ($ object ->etag (), $ copy ->etag ());
395395
0 commit comments