Index: tests/phpunit/tests/media.php
===================================================================
--- tests/phpunit/tests/media.php	(revision 43673)
+++ tests/phpunit/tests/media.php	(working copy)
@@ -1041,6 +1041,23 @@
 	}
 
 	/**
+	 * Tests the situation for a default image size that shouldn't be checked as well.
+	 * @ticket 43046
+	 */
+	public function test_has_default_image_size_with_non_second_argument_given () {
+		$this->assertFalse( has_image_size( 'medium-large' ) );
+	}
+
+	/**
+	 * Tests the situation where default images sizes should be checked as well.
+	 *
+	 * @ticket 43046
+	 */
+	public function test_has_default_image_size_with_second_argument_given () {
+		$this->assertTrue( has_image_size( 'medium-large', true ) );
+	}
+
+	/**
 	 * @ticket 30346
 	 */
 	function test_attachment_url_to_postid() {
