コード例 #1
0
 function test_deleteAll()
 {
     $test_marker = new Marker("Pok Pok", "123 abcd street", 34.343534, 41.89089, "Restaurant");
     $new_name = "Whiskey Soda Lounge";
     $new_address = "678 DEF street";
     $new_lat = 41.89089;
     $new_lng = 34.343534;
     $new_type = "Bar";
     $new_marker = new Marker($new_name, $new_address, $new_lat, $new_lng, $new_type);
     Marker::deleteAll();
     $this->assertEquals([], Marker::getAll());
 }