Index: tests/phpunit/tests/formatting/Emoji.php
===================================================================
--- tests/phpunit/tests/formatting/Emoji.php	(revision 38087)
+++ tests/phpunit/tests/formatting/Emoji.php	(working copy)
@@ -65,4 +65,21 @@
 		remove_filter( 'emoji_url', array( $this, '_filtered_emoji_png_cdn' ) );
 	}
 
+	/**
+	 * @ticket 35293
+	 */
+	public function test_wp_staticize_emoji() {
+		$this->assertContains( 'https://s.w.org/images/core/emoji/2/72x72/1f60e.png', wp_staticize_emoji( '😎' ) ); // Unicode 6: smiling face with sunglasses
+		$this->assertContains( 'https://s.w.org/images/core/emoji/2/72x72/1f44d-1f3fb.png', wp_staticize_emoji( '👍🏻' ) ); // Unicode 8: thumbs up sign
+		$this->assertContains( 'https://s.w.org/images/core/emoji/2/72x72/1f923.png', wp_staticize_emoji( '🤣' ) ); // Unicode 9: rolling on the floor laughing
+	}
+
+	/**
+	 * @ticket 352932
+	 */
+	public function test_wp_encode_emoji() {
+		$this->assertSame( '&#x1f60e;', wp_encode_emoji( '😎' ) ); // Unicode 6: smiling face with sunglasses
+		$this->assertSame( '&#x1f44d;&#x1f3fb;', wp_encode_emoji( '👍🏻' ) ); // Unicode 8: thumbs up sign
+		$this->assertSame( '&#x1f923;', wp_encode_emoji( '🤣' ) ); // Unicode 9: rolling on the floor laughing
+	}
 }
