use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Session\AccountInterface;
use Drupal\content_moderation\ModerationInformation;
+use Drupal\Tests\UnitTestCase;
use Drupal\workflows\WorkflowInterface;
/**
* @coversDefaultClass \Drupal\content_moderation\ModerationInformation
* @group content_moderation
*/
-class ModerationInformationTest extends \PHPUnit_Framework_TestCase {
+class ModerationInformationTest extends UnitTestCase {
/**
* Builds a mock user.
*
- * @return AccountInterface
+ * @return \Drupal\Core\Session\AccountInterface
* The mocked user.
*/
protected function getUser() {
/**
* Returns a mock Entity Type Manager.
*
- * @return EntityTypeManagerInterface
+ * @return \Drupal\Core\Entity\EntityTypeManagerInterface
* The mocked entity type manager.
*/
protected function getEntityTypeManager() {