for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ipGeolocation\tests;
use ipGeolocation\Currency;
use PHPUnit\Framework\TestCase;
/**
* Tests for CurrencyTest class
*
* PHP version 7
* @author yasir khurshid <[email protected]>
*/
class CurrencyTest extends TestCase
{
public function testGetCurrencyIso()
$this->assertSame('EUR', (new Currency())->getCurrencyIso('DE'));
$this->assertSame('USD', (new Currency())->getCurrencyIso('US'));
$this->assertEmpty((new Currency())->getCurrencyIso('FooBAR'));
}