1 | <?php |
||
20 | class ArticleTest extends TestCaseAbstract |
||
21 | { |
||
22 | /** |
||
23 | * setUp |
||
24 | * |
||
25 | * @since 4.0.0 |
||
26 | */ |
||
27 | |||
28 | public function setUp() : void |
||
88 | |||
89 | /** |
||
90 | * tearDown |
||
91 | * |
||
92 | * @since 4.0.0 |
||
93 | */ |
||
94 | |||
95 | public function tearDown() : void |
||
99 | |||
100 | /** |
||
101 | * testGetByAlias |
||
102 | * |
||
103 | * @since 4.0.0 |
||
104 | * |
||
105 | * @param string $articleAlias |
||
106 | * @param int $expect |
||
107 | * |
||
108 | * @dataProvider providerAutoloader |
||
109 | */ |
||
110 | |||
111 | public function testGetByAlias(string $articleAlias = null, int $expect = null) : void |
||
125 | |||
126 | /** |
||
127 | * |
||
128 | * testCountByCategoryAndLanguage |
||
129 | * |
||
130 | * @since 4.0.0 |
||
131 | * |
||
132 | * @param int $categoryId |
||
133 | * @param string $language |
||
134 | * @param int $expect |
||
135 | * |
||
136 | * @dataProvider providerAutoloader |
||
137 | */ |
||
138 | |||
139 | public function testCountByCategoryAndLanguage(int $categoryId = null, string $language = null, int $expect = null) : void |
||
153 | |||
154 | /** |
||
155 | * testGetRouteById |
||
156 | * |
||
157 | * @since 4.0.0 |
||
158 | * |
||
159 | * @param int $articleId |
||
160 | * @param string $expect |
||
161 | * |
||
162 | * @dataProvider providerAutoloader |
||
163 | */ |
||
164 | |||
165 | public function testGetRouteById(int $articleId = null, string $expect = null) : void |
||
179 | } |
||
180 |