Class ServicesCustomerCleanupHookUnitTest


  • @UnitTest
    public class ServicesCustomerCleanupHookUnitTest
    extends java.lang.Object
    • Field Detail

      • thrown

        public org.junit.rules.ExpectedException thrown
    • Constructor Detail

      • ServicesCustomerCleanupHookUnitTest

        public ServicesCustomerCleanupHookUnitTest()
    • Method Detail

      • setup

        public void setup()
      • shouldCleanupRelatedObjects

        public void shouldCleanupRelatedObjects()
      • shouldCleanupRelatedObjectsWhenPrincipalIsNull

        public void shouldCleanupRelatedObjectsWhenPrincipalIsNull()
      • shouldCleanUpRelatedObjectsWhenSubscriptionBaseIsNull

        public void shouldCleanUpRelatedObjectsWhenSubscriptionBaseIsNull()
      • shouldNotCleanupRelatedObjectsIfInputIsNull

        public void shouldNotCleanupRelatedObjectsIfInputIsNull()
      • whenAverageServiceUsagesIsNull

        public void whenAverageServiceUsagesIsNull()
      • shouldRemoveItem

        public void shouldRemoveItem()