Package akka.http.scaladsl.testkit
Interface ScalatestUtils
-
- All Superinterfaces:
MarshallingTestUtils
- All Known Subinterfaces:
ScalatestRouteTest
public interface ScalatestUtils extends MarshallingTestUtils
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> org.scalatest.matchers.Matcher<scala.concurrent.Future<T>>
evaluateTo(T value)
org.scalatest.matchers.Matcher<scala.concurrent.Future<?>>
haveFailedWith(java.lang.Throwable t)
<T> org.scalatest.matchers.Matcher<HttpEntity>
unmarshalTo(scala.util.Try<T> value, Unmarshaller<HttpEntity,T> evidence$2, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
<T> org.scalatest.matchers.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 Detail
-
evaluateTo
<T> org.scalatest.matchers.Matcher<scala.concurrent.Future<T>> evaluateTo(T value)
-
haveFailedWith
org.scalatest.matchers.Matcher<scala.concurrent.Future<?>> haveFailedWith(java.lang.Throwable t)
-
unmarshalTo
<T> org.scalatest.matchers.Matcher<HttpEntity> unmarshalTo(scala.util.Try<T> value, Unmarshaller<HttpEntity,T> evidence$2, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
unmarshalToValue
<T> org.scalatest.matchers.Matcher<HttpEntity> unmarshalToValue(T value, Unmarshaller<HttpEntity,T> evidence$1, scala.concurrent.ExecutionContext ec, akka.stream.Materializer mat)
-
-