### Question:
NativeSystemInfo implements SystemInfo { public CpuInformation getCpu(int cpuIndex) { return new CpuInformation(cpuIndex, sigar); } NativeSystemInfo(); boolean isNative(); OperatingSystemType getOperatingSystemType(); String getOperatingSystemName(); String getOperatingSystemVersion(); String getHostname(); List<NetworkAdapterInfo> getAllNetworkAdapters(); NetworkAdapterStats getNetworkAdapterStats(String interfaceName); NetworkStats getNetworkStats(String addressName, int port); List<NetConnection> getNetworkConnections(String addressName, int port); List<ServiceInfo> getAllServices(); List<ProcessInfo> getAllProcesses(); List<ProcessInfo> getProcesses(String piq); ProcessInfo getThisProcess(); ProcessExecutionResults executeProcess(ProcessExecution processExecution); int getNumberOfCpus(); Mem getMemoryInfo(); Swap getSwapInfo(); String readLineFromConsole(boolean noEcho); void writeLineToConsole(String line); CpuInformation getCpu(int cpuIndex); List<FileSystemInfo> getFileSystems(); List<FileSystemInfo> getFileSystemsDeferredUsageInfo(); FileSystemInfo getFileSystem(String path); @Override DirUsage getDirectoryUsage(String path); String getSystemArchitecture();  }### Answer:
@Test(enabled = ENABLED) public void testShutdownInitialize() throws Exception { Sigar sigar = null; try { sigar = new Sigar(); sigar.getCpu(); } catch (Throwable t) { System.out.println("~~~ Native library is not available - cannot test the shutdown/init cycle"); return; } finally { if (sigar != null) { sigar.close(); } } }