assertEquals( $result, Wikia\PortableInfobox\Helpers\PortableInfoboxTemplateEngine::isSupportedType( $type ), $description ); } public function isTypeSupportedInTemplatesDataProvider() { return [ [ 'type' => 'title', 'result' => true, 'description' => 'valid data type' ], [ 'type' => 'invalidTestType', 'result' => false, 'description' => 'invalid data type' ] ]; } }