Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 25... Línea 25...
25
 * @package   core
25
 * @package   core
26
 * @copyright 2024 Andrew Nicols <andrew@nicols.co.uk>
26
 * @copyright 2024 Andrew Nicols <andrew@nicols.co.uk>
27
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
28
 * @covers    \core\di
28
 * @covers    \core\di
29
 */
29
 */
30
class di_test extends \advanced_testcase {
30
final class di_test extends \advanced_testcase {
31
    /**
31
    /**
32
     * Test that the get_container method returns the Container Instance and stores it statically.
32
     * Test that the get_container method returns the Container Instance and stores it statically.
33
     */
33
     */
34
    public function test_get_container(): void {
34
    public function test_get_container(): void {
35
        $container = di::get_container();
35
        $container = di::get_container();