R
Size: a a a
R
∫
R
∫
∫
R
R
def sendRequest[T: FromEntityUnmarshaller](request: HttpRequest): Future[T]
Expected:
inAnyOrder {
<mock-1> ?.sendRequest[T](HttpRequest(HttpMethod(GET),https://host:8080/url,List(Authorization: Bearer token),HttpEntity.Strict(none/none,0 bytes total),HttpProtocol(HTTP/1.1)), akka.http.scaladsl.unmarshalling.Unmarshaller$$anon$1@689508f9) once (never called - UNSATISFIED)
}
Actual:
<mock-1> ?.sendRequest[T](HttpRequest(HttpMethod(GET),https://host:8080/url,List(Authorization: Bearer token),HttpEntity.Strict(none/none,0 bytes total),HttpProtocol(HTTP/1.1)), akka.http.scaladsl.unmarshalling.Unmarshaller$$anon$1@3dcd3c6e).
ScalaTestFailureLocation: ?.?Spec$$anon$1 at (MyServiceSpec.scala:32)
org.scalatest.exceptions.TestFailedException: The future returned an exception of type: org.scalatest.exceptions.TestFailedException, with message: Unexpected call: <mock-1> TcrmRequest.sendRequest[T](HttpRequest(HttpMethod(GET),https://host:8080/url,List(Authorization: Bearer token),HttpEntity.Strict(none/none,0 bytes total),HttpProtocol(HTTP/1.1)), akka.http.scaladsl.unmarshalling.Unmarshaller$$anon$1@3dcd3c6e)
R
AS
AS
AS
R
ZM
λ
λ
ZM
с#
ΛВ

ЮБ