diff options
Diffstat (limited to 'kamon-core/src/test/scala/ExtraSpec.scala')
-rw-r--r-- | kamon-core/src/test/scala/ExtraSpec.scala | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/kamon-core/src/test/scala/ExtraSpec.scala b/kamon-core/src/test/scala/ExtraSpec.scala deleted file mode 100644 index b8dc053d..00000000 --- a/kamon-core/src/test/scala/ExtraSpec.scala +++ /dev/null @@ -1,34 +0,0 @@ -import akka.actor.ActorSystem -import akka.testkit.TestKit -import org.scalatest.WordSpecLike -import shapeless._ - -class ExtraSpec extends TestKit(ActorSystem("ExtraSpec")) with WordSpecLike { - - "the Extra pattern helper" should { - "be constructed from a finite number of types" in { - Extra.expecting[String :: Int :: HNil].as[Person] - } - } - - case class Person(name: String, age: Int) -} - -/** - * Desired Features: - * 1. Expect messages of different types, apply a function and forward to some other. - */ - -object Extra { - def expecting[T <: HList] = new Object { - def as[U <: Product] = ??? - } -} - -/* -extra of { - expect[A] in { actor ! msg} - expect[A] in { actor ! msg} -} as (A, A) pipeTo (z)*/ - - |