Class LazySupplierTest

java.lang.Object
it.tidalwave.util.LazySupplierTest

public class LazySupplierTest extends Object
Author:
Fabrizio Giudici
  • Constructor Details

    • LazySupplierTest

      public LazySupplierTest()
  • Method Details

    • must_not_call_supplier_before_get

      public void must_not_call_supplier_before_get()
    • must_call_supplier_only_once

      public void must_call_supplier_only_once()
    • must_call_supplier_only_once_multithreaded

      public void must_call_supplier_only_once_multithreaded()
    • peek_must_return_empty_before_get_without_calling_supplier

      public void peek_must_return_empty_before_get_without_calling_supplier()
    • peek_must_return_the_value_after_get

      public void peek_must_return_the_value_after_get()
    • peek_must_return_empty_after_clear

      public void peek_must_return_empty_after_clear()
    • peek_must_return_the_recomputed_value_after_clear_and_get

      public void peek_must_return_the_recomputed_value_after_clear_and_get()
    • peek_must_return_the_value_after_set_without_calling_supplier

      public void peek_must_return_the_value_after_set_without_calling_supplier()
    • must_be_initialised_after_set_without_calling_supplier

      public void must_be_initialised_after_set_without_calling_supplier()
    • must_stay_initialised_after_set_and_clear

      public void must_stay_initialised_after_set_and_clear()