/** * Method to test clean(). * * @return void * * @covers \Windwalker\Bootstrap\Dropdown::clean */ public function testClean() { Dropdown::addCustomItem('label', 'copy', 'id', 'task'); Dropdown::addCustomItem('label', 'copy', 'id', 'task2'); Dropdown::clean(); $this->assertEquals(array(), $this->refDropDownList->getValue()); }