assertReturnValueEquals

public void assertReturnValueEquals(Object expected, Array<Object> params)(source)

Tests whether the return value after the invocation with the specified parameters are correct.

Parameters

expected

the expected return value

params

the parameters used for the invocation


public void assertReturnValueEquals(Object expected, String additionalMessage, Array<Object> params)(source)

Tests whether the return value after the invocation with the specified parameters are correct.

Parameters

expected

the expected return value

additionalMessage

the additional message if the test fails

params

the parameters used for the invocation