Index: tests/phpunit/tests/shortcode.php
===================================================================
--- tests/phpunit/tests/shortcode.php	(revision 45778)
+++ tests/phpunit/tests/shortcode.php	(working copy)
@@ -972,4 +972,62 @@
 		);
 		$this->assertEquals( 'test-shortcode-tag', $this->tagname );
 	}
+
+	public function data_shortcode_parse_atts() {
+
+		return [
+			[
+				'[unittest]',
+				'',
+			],
+			[
+				'[unitest]Unit Test[/unittest]',
+				'',
+			],
+			[
+				'[unittest title="unittest" link="https://unit.test/"]',
+				[
+					'title' => 'unittest',
+					'link'  => 'https://unit.test/',
+				],
+			],
+			[
+				'[unittest title="unittest" link="https://unit.test/"/]',
+				[
+					'title' => 'unittest',
+					'link'  => 'https://unit.test/',
+				],
+			],
+			[
+			'[unittest title="unittest" link="https://unit.test/"]Unit Test[/unittest]',
+				[
+					'title' => 'unittest',
+					'link'  => 'https://unit.test/',
+				],
+			],
+			[
+				'title="unittest" link="https://unit.test/"',
+				[
+					'title' => 'unittest',
+					'link'  => 'https://unit.test/',
+				],
+			],
+		];
+
+	}
+
+	/**
+	 * @covers ::shortcode_parse_atts
+	 * @dataProvider data_shortcode_parse_atts
+	 *
+	 * @param $shortcode
+	 * @param $expects
+	 */
+	public function test_shortcode_parse_atts( $shortcode, $expects ) {
+
+		$atts = shortcode_parse_atts( $shortcode );
+
+		$this->assertSame( $expects, $atts );
+
+	}
 }
