MockedServiceResponse

camundala.domain.MockedServiceResponse
See theMockedServiceResponse companion object
case class MockedServiceResponse[ServiceOut](respStatus: Int, respBody: Either[Option[Json], ServiceOut], respHeaders: Seq[Seq[String]])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def headersAsMap: Map[String, String]
def unsafeBody: ServiceOut
def withHeader(key: String, value: String): MockedServiceResponse[ServiceOut]
def withHeaders(headers: Map[String, String]): MockedServiceResponse[ServiceOut]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product