Correct method call to parse expected and actual values for comparison