MarshallingTestUtils

pl.iterators.stir.testkit.MarshallingTestUtils

Attributes

Source
MarshallingTestUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def marshal[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): EntityBody[IO]

Attributes

Source
MarshallingTestUtils.scala
def marshalToResponse[T](t: T)(implicit m: ToResponseMarshaller[T], runtime: IORuntime): Response[IO]

Attributes

Source
MarshallingTestUtils.scala
def unmarshal[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): Try[T]

Attributes

Source
MarshallingTestUtils.scala
def unmarshalValue[T](request: Request[IO])(implicit um: EntityDecoder[IO, T], runtime: IORuntime): T

Attributes

Source
MarshallingTestUtils.scala