exchangerate

  • 网络汇率;兑换率;汇价
exchangerateexchangerate
  1. Notice that at no point did I write a class that implements the ExchangeRate interface .

    注意,我可没有编写实现ExchangeRate接口的类。

  2. The ExchangeRate interface was small and simple enough that I could have easily written the mock class manually .

    ExchangeRate接口很小很简单,很容易为它手工编写mock类。

  3. What these goods or services cost the American consumer or the American government will depend on the exchangerate the dollar price of the particular foreign currency .

    这些商品或服务,要花去美国的消费者或美国政府多少钱,这将取决于汇率某种特定外币的美元价格。

  4. And even if it did by some miracle return ExchangeRate , what happens when I need to mock an instance of a different interface ?

    即使它能够通过某种奇迹返回ExchangeRate,但是如果需要模拟另一个接口的实例,又会怎么样呢?

  5. Furthermore , there is absolutely no way the EasyMock . createMock () method can be typed to return an instance of ExchangeRate , a type it never knew about and that I created just for this article .

    另外,EasyMock.createMock()方法绝对无法返回ExchangeRate的实例,它根本不知道这个类型,这个类型是我为本文创建的。