This project is forked from wordpress-test-plugin
https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/
// Create a user
$user = WP_UnitTestCase::factory()->user->create();
// Create a post
$post = WP_UnitTestCase::factory()->post->create();
// Create a comment
$comment = WP_UnitTestCase::factory()->comment->create();see more at wp-phpunit/includes/factory/