@Test
public void testGetAsset() {

	String login = "toto";
	String symbol = GBP;
	int amount = 5000;
	AssetEntity ae = portofolioRepo.findByUserUsername(login).getAsset(symbol);
	AssetInfo a = portofolioService.getAsset(ae);
	assertThat(a.getSymbol().getCode()).isEqualTo(symbol);
	assertThat(a.getQuantity()).isEqualTo(amount);
	assertThat(a.getValue()).isEqualTo(6000);
	assertThat(a.getCurrentValue()).isEqualTo(6332.419239);
	assertThat(a.getValueChange()).isEqualTo(332.419239);
	assertThat(a.getPercentChange()).isEqualTo(5.54032065);
	assertThat(a.getCurrentRate()).isEqualTo(1.2664838478);
}