use of alma.alarmsystem.Category in project ACS by ACS-Community.
the class TestAlarmService method testGetCategoryRoot.
/**
* Check if the category root is OK
*
* @throws Exception
*/
public void testGetCategoryRoot() throws Exception {
Category root = alarmService.getCategoryTreeRoot();
assertNotNull(root);
assertEquals("ROOT", root.name);
assertEquals("ROOT", root.path);
assertFalse("ROOT is a leaf!", root.leaf);
}
Aggregations