public function testEventManager() { $eventManager = $this->getMock('Ivory\\GoogleMap\\Events\\EventManager'); $this->map->setEventManager($eventManager); $this->assertSame($eventManager, $this->map->getEventManager()); }