This commit is contained in:
Christoph Sturm 2019-08-13 19:55:03 +02:00
parent 0af6097ab0
commit 95b65976ad

View File

@ -47,7 +47,7 @@ public class TradableListTest {
//openOfferTradableList = new TradableList<OpenOffer>(storage,Lists.newArrayList(openOffer));
openOfferTradableList.add(openOffer);
message = (protobuf.PersistableEnvelope) openOfferTradableList.toProtoMessage();
assertTrue(message.getMessageCase().equals(TRADABLE_LIST));
assertEquals(message.getMessageCase(), TRADABLE_LIST);
assertEquals(1, message.getTradableList().getTradableList().size());
}
}