Class CachedModelTests.AllOfTypeCachingTests

    • Constructor Detail

      • AllOfTypeCachingTests

        public AllOfTypeCachingTests()
    • Method Detail

      • shouldComputeAllOfTypeOnFirstCall

        public void shouldComputeAllOfTypeOnFirstCall()
                                               throws Exception
        Throws:
        Exception
      • shouldNotComputeAllOfTypeOnSecondCall

        public void shouldNotComputeAllOfTypeOnSecondCall()
                                                   throws Exception
        Throws:
        Exception
      • shouldNotRecomputeAllOfTypeIfFirstCallReturnsEmptyCollection

        public void shouldNotRecomputeAllOfTypeIfFirstCallReturnsEmptyCollection()
                                                                          throws Exception
        Throws:
        Exception
      • shouldComputeAllOfTypeIfTypeHasNotBeenCached

        public void shouldComputeAllOfTypeIfTypeHasNotBeenCached()
                                                          throws Exception
        Throws:
        Exception
      • shouldNotComputeAllOfTypeIfTypeIsEquivalentToACachedType

        public void shouldNotComputeAllOfTypeIfTypeIsEquivalentToACachedType()
                                                                      throws Exception
        Throws:
        Exception