/** * Clear out the routing table */ public static function clear() { self::$routes = array(); }
public function test_draw() { Pigeon::$routes = array('some', 'array', 'here'); $this->assertEquals(Pigeon::$routes, Pigeon::draw()); }