public void TestCurrencyManagerEnumerable() { ICurrencyManager manager = new SimpleCurrencyManager(); var enumerator = manager.GetEnumerator(); Assert.IsInstanceOfType(enumerator, typeof(IEnumerator <ICurrency>)); }
public void TestCurrencyManagerGetAllNames() { ICurrencyManager manager = new SimpleCurrencyManager(); Assert.IsInstanceOfType(manager.GetAllNames(), typeof(List <String>)); }
public void TestCurrencyManagerExchange() { ICurrencyManager manager = new SimpleCurrencyManager(); Assert.IsNull(manager.Exchange("____No exist!!!", 128.32)); }