| 1 | <?php |
||
| 13 | class LuaLibraryTest extends LuaLibraryTestBase { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Lua test module |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected static $moduleName = self::class; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * LuaLibraryTestTest::getTestModules |
||
| 24 | */ |
||
| 25 | public function getTestModules() { |
||
| 30 | |||
| 31 | |||
| 32 | public function testCanConstruct() { |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Test, if all the necessary methods exists. Uses data provider {@see dataProviderFunctionTest}. |
||
| 41 | * |
||
| 42 | * @param string $method name of method to check |
||
| 43 | * |
||
| 44 | * @dataProvider dataProviderFunctionTest |
||
| 45 | */ |
||
| 46 | public function testMethodsExist( $method ) { |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Data provider for {@see testMethodsExist} |
||
| 55 | * |
||
| 56 | * @see testMethodsExist |
||
| 57 | * |
||
| 58 | * @return array |
||
| 59 | */ |
||
| 60 | public function dataProviderFunctionTest() { |
||
| 67 | } |