1
2
3
4
5 package oshi.driver.unix.aix;
6
7 import static org.hamcrest.MatcherAssert.assertThat;
8 import static org.hamcrest.Matchers.anEmptyMap;
9 import static org.hamcrest.Matchers.not;
10
11 import java.util.Map;
12
13 import org.junit.jupiter.api.Test;
14 import org.junit.jupiter.api.condition.EnabledOnOs;
15 import org.junit.jupiter.api.condition.OS;
16
17 import oshi.util.tuples.Pair;
18
19 @EnabledOnOs(OS.AIX)
20 class LssradTest {
21 @Test
22 void testQueryLssrad() {
23 Map<Integer, Pair<Integer, Integer>> nodeMap = Lssrad.queryNodesPackages();
24 assertThat("Node Map shouldn't be empty", nodeMap, not(anEmptyMap()));
25 }
26 }