assertHasEnumConstant
public static EnumConstantLink assertHasEnumConstant(TypeLink link, Matcher<? super Stringifiable> matcher)(source)
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