@Test
public void testDivisionForExchangeRates() {

    Assert.assertEquals(Double.valueOf(0.6666666667d), NumberUtils.divideForExchangeRates(1d, 1.5d));
    
    Assert.assertEquals(Double.valueOf(0.7584951456d), NumberUtils.divideForExchangeRates(1d, 1.3184d));
    Assert.assertEquals(Double.valueOf(1.3183915623d), NumberUtils.divideForExchangeRates(1d, 0.7585d));
    Assert.assertEquals(Double.valueOf(0.9999180167d), NumberUtils.divideForExchangeRates(1d, 1.00008199d));
    Assert.assertEquals(Double.valueOf(0.8100051840d), NumberUtils.divideForExchangeRates(1d, 1.23456d));
    Assert.assertEquals(Double.valueOf(10.0d), NumberUtils.divideForExchangeRates(1d, 0.1d));
    Assert.assertEquals(Double.valueOf(1.0d), NumberUtils.divideForExchangeRates(1d, 1.0d));
}