public class WorkEventMatcher extends org.junit.internal.matchers.TypeSafeMatcher<javax.resource.spi.work.WorkEvent>
WorkEvent
instancesConstructor and Description |
---|
WorkEventMatcher(Object source,
javax.resource.spi.work.Work work,
int type,
javax.resource.spi.work.WorkException workException,
long startDuration) |
Modifier and Type | Method and Description |
---|---|
static javax.resource.spi.work.WorkEvent |
aCompletedWorkEventFor(Object source,
javax.resource.spi.work.Work work,
javax.resource.spi.work.WorkException workException,
long startDuration) |
static javax.resource.spi.work.WorkEvent |
anAcceptedWorkEventFor(Object source,
javax.resource.spi.work.Work work,
javax.resource.spi.work.WorkException workException,
long startDuration) |
static javax.resource.spi.work.WorkEvent |
aRejectedWorkEventFor(Object source,
javax.resource.spi.work.Work work,
javax.resource.spi.work.WorkException workException,
long startDuration) |
static javax.resource.spi.work.WorkEvent |
aStartedWorkEventFor(Object source,
javax.resource.spi.work.Work work,
javax.resource.spi.work.WorkException workException,
long startDuration) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(javax.resource.spi.work.WorkEvent workEvent) |
matches
public WorkEventMatcher(Object source, javax.resource.spi.work.Work work, int type, javax.resource.spi.work.WorkException workException, long startDuration)
public boolean matchesSafely(javax.resource.spi.work.WorkEvent workEvent)
matchesSafely
in class org.junit.internal.matchers.TypeSafeMatcher<javax.resource.spi.work.WorkEvent>
public void describeTo(org.hamcrest.Description description)
public static javax.resource.spi.work.WorkEvent anAcceptedWorkEventFor(Object source, javax.resource.spi.work.Work work, javax.resource.spi.work.WorkException workException, long startDuration)
public static javax.resource.spi.work.WorkEvent aCompletedWorkEventFor(Object source, javax.resource.spi.work.Work work, javax.resource.spi.work.WorkException workException, long startDuration)
public static javax.resource.spi.work.WorkEvent aRejectedWorkEventFor(Object source, javax.resource.spi.work.Work work, javax.resource.spi.work.WorkException workException, long startDuration)
public static javax.resource.spi.work.WorkEvent aStartedWorkEventFor(Object source, javax.resource.spi.work.Work work, javax.resource.spi.work.WorkException workException, long startDuration)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.