nur-sery/tests/wip/app/appTest.php

19 lines
396 B
PHP
Raw Normal View History

2024-09-23 17:18:00 +04:00
<?php
namespace nur\sery\wip\app;
use nulib\tests\TestCase;
2024-09-30 08:13:35 +04:00
use nur\sery\app\app;
2024-09-23 17:18:00 +04:00
class appTest extends TestCase {
function testVerifix_name() {
$name = 'my\package\MyApplication';
$verifix_name = function($name) {
self::verifix_name($name);
return $name;
};
$app = new app(null);
self::assertSame("my-application", $verifix_name->call($app, "$name"));
}
}