コード例 #1
0
ファイル: ActionDaoTests.java プロジェクト: Br3nda/plow
 @Test
 public void testCreateAndGet() {
   Action a1 = actionDao.create(filter, ActionType.PAUSE, "True");
   Action a2 = actionDao.get(a1.getActionId());
   assertEquals(a1, a2);
   assertEquals(a2.getFilterId(), filter.getFilterId());
 }