### Question:
MemoryUtil { public static RamInfo getRamInfo(Context context) { if (sActivityManager == null) { sActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); } final ActivityManager.MemoryInfo mi = new ActivityManager.MemoryInfo(); sActivityManager.getMemoryInfo(mi); final RamInfo ramMemoryInfo = new RamInfo(); ramMemoryInfo.availMemKb = mi.availMem / 1024; ramMemoryInfo.isLowMemory = mi.lowMemory; ramMemoryInfo.lowMemThresholdKb = mi.threshold / 1024; ramMemoryInfo.totalMemKb = getRamTotalMem(sActivityManager); return ramMemoryInfo; }  static HeapInfo getAppHeapInfo(); static PssInfo getAppPssInfo(Context context); static RamInfo getRamInfo(Context context);  }### Answer:
@Test public void getRamInfo() { RamInfo ramInfo = MemoryUtil.getRamInfo(GodEye.instance().getApplication()); Assert.assertNotNull(ramInfo); }