public function test_random_on_empty() { $data = new Collection(); $random = $data->random(); $this->assertNull($random); }