@Test
public void testAdd_currencyNotExist() throws Exception {

	// given
	String symbol = "UBI.PA";
	String name = "Ubi";
	String provider = "Provider";
	when(lookupService.getDetails(symbol, provider)).thenReturn(new LookupDetails(symbol, name, "UBI", "XXX", "EPA", provider));
	// when
	assertThatThrownBy(() -> adminService.add(symbol, provider))
		.isInstanceOf(PairException.class)
		.hasMessage("pair.error.currency-not-found: [XXX]");
}