/** * @test */ public function removesParam() { $version = new Version('tenhunen', array('suuruus' => 'ylistetty'), array('x5')); $ret = $version->removeParam('suuruus'); $this->assertEquals(array(), $ret->getParams()); $this->assertNotSame($version, $ret); }