assertEquals(trade.getAttributes(), Collections.emptyMap());
trade.setAttributes(ImmutableMap.of("K1", "V1"));
assertEquals(trade.getAttributes(), ImmutableMap.of("K1", "V1"));
trade.addAttribute("K2", "V2");
assertEquals(trade.getAttributes(), ImmutableMap.of("K1", "V1", "K2", "V2"));
assertEquals(trade.getCounterparty(), new SimpleCounterparty(ExternalId.of("Counterparty", "Mock")));
assertEquals(trade.getPremium(), null);
assertEquals(trade.getPremiumCurrency(), null);
assertEquals(trade.getPremiumDate(), null);
assertEquals(trade.getPremiumTime(), null);
assertEquals(trade.getTradeDate(), MockComputationTargetResolver.TODAY);