Index: tests/phpunit/tests/user/wpUserRequest.php
===================================================================
--- tests/phpunit/tests/user/wpUserRequest.php	(nonexistent)
+++ tests/phpunit/tests/user/wpUserRequest.php	(working copy)
@@ -0,0 +1,31 @@
+<?php
+/**
+ * Test cases for the `WP_User_Request` class.
+ *
+ * @package WordPress
+ */
+
+/**
+ * Tests_WP_User_Request class.
+ *
+ * @group user
+ */
+class Tests_WP_User_Request extends WP_UnitTestCase {
+
+	/**
+	 * Tests if the author id has been casted to an integer.
+	 *
+	 * @ticket 44723
+	 */
+	public function testAuthorToIntCasting() {
+		$user = self::factory()->user->create_and_get(
+			array(
+				'post_author' => '2',
+			)
+		);
+
+		$user_request = new WP_User_Request( $user );
+
+		$this->assertTrue( is_int( $user_request->user_id ) );
+	}
+}
