     public void testExchangeCZKUSD() throws Exception {
         Currency usd = new Currency("USD");
         Currency czk = new Currency("CZK");
         Calculator c = createCZKtoUSD();
         CurrencyValue result = c.convert(new CurrencyValue(usd, 5.0), czk);
         assertEquals(result.getValue(), 85.0);
         assertEquals(result.getCurrency(), czk);
         result = c.convert(new CurrencyValue(usd, 8.0), czk);
         assertEquals(result.getValue(), 136);
         assertEquals(result.getCurrency(), czk);
         result = c.convert(new CurrencyValue(czk, 1003.0), usd);
         assertEquals(result.getValue(), 59);
         assertEquals(result.getCurrency(), usd);
     }

     public void testExchangeCZKUSD() throws Exception {
         Currency usd = new Currency("USD");
         Currency czk = new Currency("CZK");
         Calculator c = createCZKtoUSD();
         CurrencyValue result = c.convert(new CurrencyValue(usd, 5.0), czk);
         assertEquals(result.getValue(), 85.0);
         assertEquals(result.getCurrency(), czk);
         result = c.convert(new CurrencyValue(usd, 8.0), czk);
         assertEquals(result.getValue(), 136.0);
         assertEquals(result.getCurrency(), czk);
         result = c.convert(new CurrencyValue(czk, 1003.0), usd);
         assertEquals(result.getValue(), 59.0);
         assertEquals(result.getCurrency(), usd);
     }
