assertFieldExists

public static FieldLink assertFieldExists(TypeLink link, Matcher<? super FieldLink> matcher)(source)

Assert that a field with the given characteristics exists in the given TypeLink.

Return

the FieldLink if it exists

Parameters

link

the TypeLink to search in

matcher

the Matcher to match the FieldLink against