assertEquals

public static T assertEquals<T>(T expected, T actual, Context context, PreCommentSupplier<? super ResultOfObject<T>> preCommentSupplier)(source)

Asserts that the given actual object is equal to the given expected object.

Return

the result of the test

Parameters

expected

the expected object

actual

the actual object

context

the context of the test

<T>

the type of the object