public function testUnmoeda() { $this->assertEquals(2000, Utils::unmoeda('R$ 2.000,00')); $this->assertEquals(3500.22, Utils::unmoeda('US$ 3.500,22', 'US$')); }