public function testInitializationWithExtraneousParams() { $sessionId = 'SESSIONID'; $session = new Session($this->opentok, $sessionId, array('notrealproperty' => 'notrealvalue')); $this->assertEquals($sessionId, $session->getSessionId()); $this->assertEmpty($session->getLocation()); $this->assertEquals(MediaMode::ROUTED, $session->getMediaMode()); }