assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section').length,1,'There is a local section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section').length,0,'There is no global section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section .mw-mlb-fileusage-view-all').length,0,'The local section has no "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section .mw-mlb-fileusage-view-all').length,0,'The global section has no "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section').length,1,'There is a local section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section').length,0,'There is no global section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section .mw-mlb-fileusage-view-all').length,1,'The local section has its "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section .mw-mlb-fileusage-view-all').length,0,'The global section has no "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section').length,0,'There is no local section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section').length,1,'There is a global section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section .mw-mlb-fileusage-view-all').length,0,'The local section has no "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section .mw-mlb-fileusage-view-all').length,0,'The global section has no "view all uses" link');
assert.strictEqual($list.length,fileUsage.MAX_LOCAL+fileUsage.MAX_GLOBAL,'Total amount of results is correctly capped');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section').length,1,'There is a local section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section').length,1,'There is a global section');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-local-section .mw-mlb-fileusage-view-all').length,1,'The local section has its "view all uses" link');
assert.strictEqual($('#qunit-fixture .mw-mlb-fileusage-global-section .mw-mlb-fileusage-view-all').length,1,'The global section has its "view all uses" link');
assert.ok($('#qunit-fixture h3').text().match(totalCount),'The "Used in" counter has the right total');