class ToContext

case class ToContext(val desc : String)

 extends Product

Syntactic sugar to create pass a new context before creating a sus.

Usage: "a system" ->(context) should { ... In that case before/after actions defined in the context will be set on the defined sus.

Source: Context.scala(94)


def this(desc : String)


productArity override def productArity Int
productPrefix override def productPrefix String


!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
->- def ->-[S](context : Context) Sus
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
definedAs def definedAs[S](context : SystemContext[S]) Sus
eq final def eq(arg0 : Object) Boolean AnyRef
equals override def equals(arg0 : Any) Boolean
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode override def hashCode Int
isA def isA[S](context : SystemContext[S]) Sus
isAn def isAn[S](context : SystemContext[S]) Sus
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
productElement override def productElement(arg0 : Int) Any
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString override def toString String
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
when def when[S](context : SystemContext[S]) Sus
whenHas def whenHas[S](context : SystemContext[S]) Sus
whenHaving def whenHaving[S](context : SystemContext[S]) Sus
whenIn def whenIn[S](context : SystemContext[S]) Sus
whenIs def whenIs[S](context : SystemContext[S]) Sus
Copyright (c) 2007-2009. All Rights Reserved.