Hi guys!, as you can see we are using TestNG and previosly we have created the method SumNumbers in the class SomeClassToTest, this methods just sum two numbers.
And Assert.assertEquals() has two parameters, the first parameter is actual result and the second parameter is expected result.

Once we assign parameters to the method assertEquals() we make an intentional fail in order to see how the AssertionError will show. The correct expected result should be 4 instead of 3 (see the highlighted yellow color).

So that the error message shows us two data, the first data is the value of the expected result that we defined before (see the before image), the second data is the value of the actual result, it means the result of the sum.
