/**
  * Tests uninstalling Node module removes views which are dependent on it.
  */
 public function testUninstall()
 {
     $this->moduleHandler->install(array('views'));
     $this->assertTrue(entity_load('view', 'frontpage', TRUE) === NULL, 'After installing Views, frontpage view which is dependant on the Node and Views modules does not exist.');
     $this->moduleHandler->install(array('node'));
     $this->assertTrue(entity_load('view', 'frontpage', TRUE) !== NULL, 'After installing Node, frontpage view which is dependant on the Node and Views modules exists.');
     $this->moduleHandler->uninstall(array('node'));
     $this->assertTrue(entity_load('view', 'frontpage', TRUE) === NULL, 'After uninstalling Node, frontpage view which is dependant on the Node and Views modules does not exist.');
 }