/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/zhong/syrius-rest-api/0.0.1-dev/play_2_4_mock_client */ package io.zhong.mock { trait Client extends io.zhong.interfaces.Client { val baseUrl: String = "http://mock.localhost" override def searchPersons: io.zhong.SearchPersons = MockSearchPersonsImpl } object MockSearchPersonsImpl extends MockSearchPersons trait MockSearchPersons extends io.zhong.SearchPersons { /** * @param vorname search vorname */ def get( vorname: _root_.scala.Option[String] = None, requestHeaders: Seq[(String, String)] = Nil )(implicit ec: scala.concurrent.ExecutionContext): scala.concurrent.Future[Seq[io.zhong.models.SearchPerson]] = scala.concurrent.Future.successful { Nil } } object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeSearchPerson(): io.zhong.models.SearchPerson = io.zhong.models.SearchPerson( vorname = Factories.randomString(24) ) def makeVertrag(): io.zhong.models.Vertrag = io.zhong.models.Vertrag( vorname = Factories.randomString(24) ) } }