public function testInsertWithEmptyArray() { $result = String::insert("Hey, what are you tryin' to {:action} on us?", array('action' => array())); $expected = "Hey, what are you tryin' to on us?"; $this->assertEqual($expected, $result); }