org.scalatest.PrivateMethodTester

object PrivateMethod

[source: org/scalatest/PrivateMethodTester.scala]

object PrivateMethod
extends AnyRef
Contains a factory method for instantiating PrivateMethod objects.
Method Summary
def apply [T](methodName : scala.Symbol) : PrivateMethod[T]
Construct a new PrivateMethod object with passed methodName symbol. The type parameter, T, is the return type of the private method.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def apply[T](methodName : scala.Symbol) : PrivateMethod[T]
Construct a new PrivateMethod object with passed methodName symbol. The type parameter, T, is the return type of the private method.
Parameters
methodName - a Symbol representing the name of the private method to invoke
Throws
NullPointerException - if methodName is null


Copyright (C) 2001-2010 Artima, Inc. All rights reserved.