Package akka.http.scaladsl.testkit
Interface Specs2Utils
- All Superinterfaces:
MarshallingTestUtils
- All Known Subinterfaces:
Specs2RouteTest
-
Method Summary
Modifier and TypeMethodDescription<T> org.specs2.matcher.Matcher<scala.concurrent.Future<T>>
evaluateTo
(T value, org.specs2.concurrent.ExecutionEnv ee) org.specs2.matcher.Matcher<scala.concurrent.Future<?>>
haveFailedWith
(Throwable t, org.specs2.concurrent.ExecutionEnv ee) <T> org.specs2.matcher.Matcher<HttpEntity>
unmarshalTo
(scala.util.Try<T> value, Unmarshaller<HttpEntity, T> evidence$2, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat) <T> org.specs2.matcher.Matcher<HttpEntity>
unmarshalToValue
(T value, Unmarshaller<HttpEntity, T> evidence$1, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat) Methods inherited from interface akka.http.scaladsl.testkit.MarshallingTestUtils
marshal, marshallingTimeout, marshalToResponse, marshalToResponseForRequestAccepting, testConfig, unmarshal, unmarshalValue
-
Method Details
-
evaluateTo
<T> org.specs2.matcher.Matcher<scala.concurrent.Future<T>> evaluateTo(T value, org.specs2.concurrent.ExecutionEnv ee) -
haveFailedWith
org.specs2.matcher.Matcher<scala.concurrent.Future<?>> haveFailedWith(Throwable t, org.specs2.concurrent.ExecutionEnv ee) -
unmarshalTo
<T> org.specs2.matcher.Matcher<HttpEntity> unmarshalTo(scala.util.Try<T> value, Unmarshaller<HttpEntity, T> evidence$2, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat) -
unmarshalToValue
<T> org.specs2.matcher.Matcher<HttpEntity> unmarshalToValue(T value, Unmarshaller<HttpEntity, T> evidence$1, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-