public class BeanPropertyMatcher<T>
extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
| Constructor and Description |
|---|
BeanPropertyMatcher(String propertyName,
org.hamcrest.Matcher<?> valueMatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(T bean,
org.hamcrest.Description mismatchDescription) |
static <T> BeanPropertyMatcher<T> |
property(String propertyName,
org.hamcrest.Matcher<?> value) |
public BeanPropertyMatcher(String propertyName, org.hamcrest.Matcher<?> valueMatcher)
public static <T> BeanPropertyMatcher<T> property(String propertyName, org.hamcrest.Matcher<?> value)
public boolean matchesSafely(T bean, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>public void describeTo(org.hamcrest.Description description)
Copyright © 2018. All rights reserved.