assertEquals("nico", $parameters["class"]); } public function test_parse_parameters_no_content() { $match = ' class="" '; $parameters = webcomponent::parseMatch($match); $this->assertEquals("", $parameters["class"]); $this->assertEquals(true, array_key_exists("class",$parameters)); } }