/** * Test right the execution of an item callback. * * @covers ::__construct * @covers ::getCreationTime * @return void */ public function testGetCreationTime() { $item = new Item(function ($string) { return strtolower($string); }, 'HoLa MuNdo'); $this->assertNotNull($item->getCreationTime()); }