assertFieldEquals

public void assertFieldEquals(Field field, Object expected, String additionalMessage)(source)

Tests whether the specified field has a specified content.

Parameters

field

the field to check

expected

the expected content of the field

additionalMessage

the additional message if the test fails


public void assertFieldEquals(Field field, Object expected)(source)

Tests whether a field has a certain content.

Parameters

field

the field to check

expected

the expected content