assertHasEnumConstant

Asserts that the given EnumConstantLink exists in the enum of the given TypeLink.

Return

the EnumConstantLink if it exists

Parameters

link

the TypeLink of the enum to search in

matcher

the Matcher to match the EnumConstantLink against


Asserts that the given EnumConstantLink exists in the enum of the given TypeLink.

Return

the EnumConstantLink if it exists

Parameters

link

the TypeLink of the enum to search in

name

the name of the EnumConstantLink