java.lang.Object | |
↳ | com.atlassian.jira.matchers.FeatureMatchers |
A shorthand for building org.hamcrest.FeatureMatcher classes. This uses an accessor to simplify construction. In most cases, the accessor may be expressed as method reference, which greatly simplifies the code.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds a feature matcher using an accessor method to get the feature.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Builds a feature matcher using an accessor method to get the feature.
Method name is tailored to static importing.
featureAccessor | a function, that returns the instance of the feature from the matched object |
---|---|
innerMatcher | a matcher for the feature instance |
featureDescription | Descriptive text to use in describeTo |
featureName | Identifying text for mismatch message |