コード例 #1
0
 private void assertRowMatchesSnapshot(int row, SniperSnapshot snapshot) {
   assertEquals(snapshot.itemId, cellValue(row, Column.ITEM_IDENTIFIER));
   assertEquals(snapshot.lastPrice, cellValue(row, Column.LAST_PRICE));
   assertEquals(snapshot.lastBid, cellValue(row, Column.LAST_BID));
   assertEquals(SnipersTableModel.textFor(snapshot.state), cellValue(row, Column.SNIPER_STATE));
 }