org.mockcentral.editor.nodes.expectation_group
Class MockableMethodDescriber

java.lang.Object
  extended by org.mockcentral.editor.nodes.expectation_group.MockableMethodDescriber

public class MockableMethodDescriber
extends java.lang.Object

Utility class for creating String descriptions of MockableMethod instances.


Constructor Summary
MockableMethodDescriber()
           
 
Method Summary
static java.lang.String getDescription(MockableMethod mockableMethod, java.lang.Class<?> interfaceClass)
          Returns a descriptive String representing the supplied MockableMethod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockableMethodDescriber

public MockableMethodDescriber()
Method Detail

getDescription

public static java.lang.String getDescription(MockableMethod mockableMethod,
                                              java.lang.Class<?> interfaceClass)
Returns a descriptive String representing the supplied MockableMethod.

Parameters:
mockableMethod - the MockableMethod to be described.
interfaceClass - the interface class of the Mock Object declaring the class. This value is used to append the interface to the description.
Returns:
a descriptive String representing the supplied Method.