Index: tests/phpunit/tests/cron.php
===================================================================
--- tests/phpunit/tests/cron.php	(revision 29337)
+++ tests/phpunit/tests/cron.php	(working copy)
@@ -124,6 +124,25 @@
 		$this->assertFalse( wp_next_scheduled($hook, $args) );
 	}
 
+	function test_unschedule_hook() {
+		$hook = rand_str();
+		$args = array(rand_str());
+
+		// schedule several events with and without arguments
+		wp_schedule_single_event( strtotime('+1 hour'), $hook );
+		wp_schedule_single_event( strtotime('+2 hour'), $hook );
+		wp_schedule_single_event( strtotime('+3 hour'), $hook, $args );
+		wp_schedule_single_event( strtotime('+4 hour'), $hook, $args );
+
+		// make sure they're returned by wp_next_scheduled()
+		$this->assertTrue( wp_next_scheduled($hook) > 0 );
+		$this->assertTrue( wp_next_scheduled($hook, $args) > 0 );
+
+		// clear the schedule for the no args events and make sure it's gone
+		wp_unschedule_hook($hook);
+		$this->assertFalse( wp_next_scheduled($hook) );
+	}
+
 	function test_clear_schedule_multiple_args() {
 		$hook = rand_str();
 		$args = array(rand_str(), rand_str());
