public final class ContentMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<Content> |
createdBy(Person user) |
static org.hamcrest.Matcher<Content> |
createdBy(String username) |
static org.hamcrest.Matcher<Content> |
createdDateAfter(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
createdDateBefore(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
hasId(Content content) |
static org.hamcrest.Matcher<Content> |
hasId(ContentId contentId) |
static org.hamcrest.Matcher<Content> |
hasSpace(String... spaceKey) |
static org.hamcrest.Matcher<Content> |
hasStatus(ContentStatus contentStatus) |
static org.hamcrest.Matcher<Content> |
hasTitle(String title) |
static org.hamcrest.Matcher<Content> |
hasTitleContaining(String fragment) |
static org.hamcrest.Matcher<Content> |
hasType(ContentType contentType) |
static org.hamcrest.Matcher<ServiceException> |
hasValidationError(String key) |
static org.hamcrest.Matcher<Content> |
lastModifiedAfter(org.joda.time.DateTime dateTime) |
static org.hamcrest.Matcher<Content> |
lastModifiedBefore(org.joda.time.DateTime dateTime) |
public static org.hamcrest.Matcher<Content> hasStatus(ContentStatus contentStatus)
public static org.hamcrest.Matcher<Content> hasType(ContentType contentType)
public static org.hamcrest.Matcher<Content> lastModifiedAfter(org.joda.time.DateTime dateTime)
public static org.hamcrest.Matcher<Content> lastModifiedBefore(org.joda.time.DateTime dateTime)
public static org.hamcrest.Matcher<Content> createdDateBefore(org.joda.time.DateTime dateTime)
public static org.hamcrest.Matcher<Content> createdDateAfter(org.joda.time.DateTime dateTime)
public static org.hamcrest.Matcher<ServiceException> hasValidationError(String key)
Copyright © 2003–2017 Atlassian. All rights reserved.