@@ -292,54 +292,54 @@ public void testExtractDataUris() throws Exception {
292292 }
293293
294294 @ Test
295- public void testGetFromId () throws Exception {
295+ public void testLoadFromId () throws Exception {
296296 expect (bigquery .getTable (TABLE_INFO .tableId ())).andReturn (TABLE_INFO );
297297 replay (bigquery );
298- Table loadedTable = Table .get (bigquery , TABLE_INFO .tableId ());
298+ Table loadedTable = Table .load (bigquery , TABLE_INFO .tableId ());
299299 assertNotNull (loadedTable );
300300 assertEquals (TABLE_INFO , loadedTable .info ());
301301 }
302302
303303 @ Test
304- public void testGetFromStrings () throws Exception {
304+ public void testLoadFromStrings () throws Exception {
305305 expect (bigquery .getTable (TABLE_INFO .tableId ())).andReturn (TABLE_INFO );
306306 replay (bigquery );
307- Table loadedTable = Table .get (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table ());
307+ Table loadedTable = Table .load (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table ());
308308 assertNotNull (loadedTable );
309309 assertEquals (TABLE_INFO , loadedTable .info ());
310310 }
311311
312312 @ Test
313- public void testGetFromIdNull () throws Exception {
313+ public void testLoadFromIdNull () throws Exception {
314314 expect (bigquery .getTable (TABLE_INFO .tableId ())).andReturn (null );
315315 replay (bigquery );
316- assertNull (Table .get (bigquery , TABLE_INFO .tableId ()));
316+ assertNull (Table .load (bigquery , TABLE_INFO .tableId ()));
317317 }
318318
319319 @ Test
320- public void testGetFromStringsNull () throws Exception {
320+ public void testLoadFromStringsNull () throws Exception {
321321 expect (bigquery .getTable (TABLE_INFO .tableId ())).andReturn (null );
322322 replay (bigquery );
323- assertNull (Table .get (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table ()));
323+ assertNull (Table .load (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table ()));
324324 }
325325
326326 @ Test
327- public void testGetFromIdWithOptions () throws Exception {
327+ public void testLoadFromIdWithOptions () throws Exception {
328328 expect (bigquery .getTable (TABLE_INFO .tableId (), BigQuery .TableOption .fields ()))
329329 .andReturn (TABLE_INFO );
330330 replay (bigquery );
331- Table loadedTable = Table .get (bigquery , TABLE_INFO .tableId (), BigQuery .TableOption .fields ());
331+ Table loadedTable = Table .load (bigquery , TABLE_INFO .tableId (), BigQuery .TableOption .fields ());
332332 assertNotNull (loadedTable );
333333 assertEquals (TABLE_INFO , loadedTable .info ());
334334 }
335335
336336 @ Test
337- public void testGetFromStringsWithOptions () throws Exception {
337+ public void testLoadFromStringsWithOptions () throws Exception {
338338 expect (bigquery .getTable (TABLE_INFO .tableId (), BigQuery .TableOption .fields ()))
339339 .andReturn (TABLE_INFO );
340340 replay (bigquery );
341341 Table loadedTable =
342- Table .get (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table (), BigQuery .TableOption .fields ());
342+ Table .load (bigquery , TABLE_ID1 .dataset (), TABLE_ID1 .table (), BigQuery .TableOption .fields ());
343343 assertNotNull (loadedTable );
344344 assertEquals (TABLE_INFO , loadedTable .info ());
345345 }
0 commit comments