@Test() public void test_findUnitsWithDirectParent_normal_middle_UnitNumber() { final List<Unit> expects = new ArrayList<Unit>() { { add(three); } }; Assert.assertEquals(expects, unitService.findUnitsWithDirectParent(allUnits, "TWO")); }
@Test() public void test_findUnitsWithDirectParent_nullUnitNumber() { Assert.assertEquals( Collections.emptyList(), unitService.findUnitsWithDirectParent(allUnits, null)); }