/** * Receive one message from the test actor and assert that it conforms to one of the given * classes. Wait time is bounded by the given duration, with an AssertionFailure being thrown in * case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remainingOrDefault(), obj...)</code>, but correctly treating * the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Receive one message from the test actor and assert that it conforms to one of the given * classes. Wait time is bounded by the given duration, with an AssertionFailure being thrown in * case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remainingOrDefault(), obj...)</code>, but correctly treating * the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }
/** * Receive one message from the test actor and assert that it conforms to one * of the given classes. Wait time is bounded by the given duration, with an * AssertionFailure being thrown in case of timeout. * * @return the received object */ public Object expectMsgAnyClassOf(FiniteDuration max, Class<?>... classes) { return p.expectMsgAnyClassOf(max, Util.immutableSeq(classes)); }
/** * Same as <code>expectMsgAnyClassOf(remaining(), obj...)</code>, but * correctly treating the timeFactor. */ @SuppressWarnings("unchecked") public <T> T expectMsgAnyClassOf(Class<? extends T>... classes) { final Object result = p.expectMsgAnyClassOf(Util.immutableSeq(classes)); return (T) result; }