com.googlecode.kevinarpe.papaya.testing
Interface ITestClassFinderUtils

All Known Implementing Classes:
TestClassFinderUtils

public interface ITestClassFinderUtils

For those projects that require full, static-free mocking capabilities, use this interface. Else, the concrete implementation TestClassFinderUtils will suffice.

Author:
Kevin Connor ARPE (kevinarpe@gmail.com)

Method Summary
 TestClassFinderFactory newFactory()
          Retrieves a TestClassFinderFactory.
 TestClassFinder newInstance()
          Constructs a new instance of TestClassFinder.
 

Method Detail

newInstance

TestClassFinder newInstance()
Constructs a new instance of TestClassFinder.

Returns:
new instance
See Also:
newFactory()

newFactory

TestClassFinderFactory newFactory()
Retrieves a TestClassFinderFactory. As the default factory implementation is stateless, a global instance is always returned by this helper. Unless an additional layer of indirection is required for mocking or testing, it is usually sufficient to call newInstance().

Returns:
factory instance
See Also:
newInstance()


Copyright © 2013-2014. All Rights Reserved.