Class AllInvocationsFinder


  • public class AllInvocationsFinder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Invocation> find​(java.lang.Iterable<?> mocks)
      gets all invocations from mocks.
      static java.util.Set<Stubbing> findStubbings​(java.lang.Iterable<?> mocks)
      Gets all stubbings from mocks.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AllInvocationsFinder

        private AllInvocationsFinder()
    • Method Detail

      • find

        public static java.util.List<Invocation> find​(java.lang.Iterable<?> mocks)
        gets all invocations from mocks. Invocations are ordered earlier first.
        Parameters:
        mocks - mocks
        Returns:
        invocations
      • findStubbings

        public static java.util.Set<Stubbing> findStubbings​(java.lang.Iterable<?> mocks)
        Gets all stubbings from mocks. Invocations are ordered earlier first.
        Parameters:
        mocks - mocks
        Returns:
        stubbings