/** * @expectedException \LogicException */ public function testGetRandomKeyLogicException() { $ma = new MutableArray(['a']); $ma->getRandomKey(); }