Package org.jmock.api

Interface MockObjectNamingScheme

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String defaultNameFor​(java.lang.Class<?> typeToMock)
      Derive a name for a mock object from the name of the given type.
    • Method Detail

      • defaultNameFor

        java.lang.String defaultNameFor​(java.lang.Class<?> typeToMock)
        Derive a name for a mock object from the name of the given type.
        Parameters:
        typeToMock - The type being mocked.
        Returns:
        The default name for a mock object of the given type.