Tests that the "add to shortcut" link changes to "remove shortcut".
function testShortcutQuickLink() {
theme_enable(array(
'seven',
));
config('system.theme')
->set('admin', 'seven')
->save();
variable_set('node_admin_theme', TRUE);
$link = reset($this->set->links);
$this
->drupalGet($link->link_path);
$this
->assertRaw(t('Remove from %title shortcuts', array(
'%title' => $this->set
->label(),
)), '"Add to shortcuts" link properly switched to "Remove from shortcuts".');
}