Exemple #1
0
 @Test
 public void testGetAll() {
   TransType transType = transTypeService.get(3L);
   assertEquals(transType.getCodeDesc(), "卫星上行");
   assertEquals(transType.getTechSystems().size(), 1);
   assertEquals(transType.getTaches().size(), 3);
   assertEquals(transType.getOperations().size(), 3);
 }
Exemple #2
0
 @Test
 public void testGet() {
   assertEquals(transTypeService.getAll().size(), 3);
 }