All Downloads are FREE. Search and download functionalities are using the official Maven repository.

endpoints4s.algebra.client.TextEntitiesTestSuite.scala Maven / Gradle / Ivy

The newest version!
package endpoints4s.algebra.client

import endpoints4s.algebra.TextEntitiesTestApi

trait TextEntitiesTestSuite[T <: TextEntitiesTestApi] extends ClientTestBase[T] {

  def textEntitiesTestSuite() = {

    "TextEntities" should {

      "produce `text/plain` requests with an explicit encoding" in {
        val utf8String = "Oekraïene"

        call(client.textRequestEndpointTest, utf8String)
          .map(_ shouldEqual utf8String)
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy