public class ApplicationRoleBeanMatcher extends org.hamcrest.TypeSafeDiagnosingMatcher<ApplicationRoleControl.ApplicationRoleBean>
Constructor and Description |
---|
ApplicationRoleBeanMatcher(String key,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static ApplicationRoleBeanMatcher |
forCore() |
protected boolean |
matchesSafely(ApplicationRoleControl.ApplicationRoleBean item,
org.hamcrest.Description mismatchDescription) |
ApplicationRoleBeanMatcher |
setDefaultGroups(String... defaultGroups) |
ApplicationRoleBeanMatcher |
setGroups(String... groups) |
ApplicationRoleBeanMatcher |
setNumberOfSeats(Integer numberOfSeats) |
ApplicationRoleBeanMatcher |
setRemainingSeats(Integer remainingSeats) |
ApplicationRoleBeanMatcher |
setSelectedByDefault(boolean selectedByDefault) |
ApplicationRoleBeanMatcher |
setUserCount(Integer userCount) |
public static ApplicationRoleBeanMatcher forCore()
protected boolean matchesSafely(ApplicationRoleControl.ApplicationRoleBean item, org.hamcrest.Description mismatchDescription)
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<ApplicationRoleControl.ApplicationRoleBean>
public void describeTo(org.hamcrest.Description description)
public ApplicationRoleBeanMatcher setGroups(String... groups)
public ApplicationRoleBeanMatcher setDefaultGroups(@Nonnull String... defaultGroups)
public ApplicationRoleBeanMatcher setSelectedByDefault(boolean selectedByDefault)
public ApplicationRoleBeanMatcher setNumberOfSeats(Integer numberOfSeats)
public ApplicationRoleBeanMatcher setRemainingSeats(Integer remainingSeats)
public ApplicationRoleBeanMatcher setUserCount(Integer userCount)
Copyright © 2002-2022 Atlassian. All Rights Reserved.