9 * @author Bene* < benestar.wikimedia@gmail.com >
12 class SkinTemplateTest
extends MediaWikiTestCase
{
15 * @dataProvider makeListItemProvider
17 public function testMakeListItem( $expected, $key, $item, $options, $message ) {
18 $template = $this->getMockForAbstractClass( 'BaseTemplate' );
22 $template->makeListItem( $key, $item, $options ),
27 public function makeListItemProvider() {
30 '<li class="class" title="itemtitle"><a href="url" title="title">text</a></li>',
32 array( 'class' => 'class', 'itemtitle' => 'itemtitle', 'href' => 'url', 'title' => 'title', 'text' => 'text' ),
34 'Test makteListItem with normal values'