<?php
namespace Elementor\Testing\Modules\Library;

use Elementor\Modules\Library\Module;
use ElementorEditorTesting\Elementor_Test_Base;
use ElementorEditorTesting\Traits\Elementor_Library;

class Elementor_Test_Module extends Elementor_Test_Base {

	use Elementor_Library;

	/** @var Module */
	private static $module;

	public function test_should_confirm_module_activation() {
		self::$module = new Module();

		$this->assert_document_type_registered( 'page' );
		$this->assert_document_type_registered( 'section' );
	}

	public function test_should_return_library() {
		$this->assertEquals( 'library', self::$module->get_name() );
	}
}
