PrivateMethod

org.scalatest.PrivateMethodTester.PrivateMethod
See thePrivateMethod companion class
object PrivateMethod

Contains a factory method for instantiating PrivateMethod objects.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[T](methodName: Symbol): PrivateMethod[T]

Construct a new PrivateMethod object with passed methodName symbol. The type parameter, T, is the return type of the private method.

Construct a new PrivateMethod object with passed methodName symbol. The type parameter, T, is the return type of the private method.

Value parameters

methodName

a Symbol representing the name of the private method to invoke

Attributes

Throws
NullArgumentException

if methodName is null