I want to write a unit test for the following code by using TestNG. It is inside the constructor.
TestNG
public class MemoryCheckHandler{ public Memor