I am new to writing test cases. I need to test a part of a function that does not return anything. Could check if a log error is obtained or not
public void M