}
@Test
public void testThatTransferInCountsIfTransferOutIsMissingPlusBuyTransaction()
{
SecurityPosition position = new SecurityPosition(new Security());
position.addTransaction(new PortfolioTransaction(Dates.date(2012, Calendar.JANUARY, 1), null, Type.BUY,
50 * Values.Share.factor(), 50000, 0, 0));
position.addTransaction(new PortfolioTransaction(Dates.date(2012, Calendar.FEBRUARY, 1), null,