Beispiel #1
0
 /**
  * Tests the exception, thrown by the validate_maptype method.
  * 
  * @test
  * @covers Gmap::set_maptype
  * @covers Gmap::validate_maptype
  * @expectedException Kohana_Exception
  */
 function test_validate_maptype_exception()
 {
     $map = new Gmap();
     $map->set_maptype('NotExisting');
 }