@Test
public void splitInstrumentPairTest() {

	String[] currencies = TradingUtils.splitInstrumentPair("EUR/USD");
	assertEquals(2, currencies.length);
	assertEquals("EUR", currencies[0]);
	assertEquals("USD", currencies[1]);
	try {
		TradingUtils.splitInstrumentPair(null);
		fail("Expected IllegalArgumentException because null was passed in");
	} catch (IllegalArgumentException e) {
		// expected
	}
	try {
		TradingUtils.splitInstrumentPair(StringUtils.EMPTY);
		fail("Expected IllegalArgumentException because empty string was passed in");
	} catch (IllegalArgumentException e) {
		// expected
	}
	try {
		TradingUtils.splitInstrumentPair("foo");
		fail("Expected IllegalArgumentException because unexpected string was passed in");
	} catch (IllegalArgumentException e) {
		// expected
	}
}