Class AzureDatabaseUtilizationServiceTest

java.lang.Object
de.hybris.platform.azure.dtu.impl.AzureDatabaseUtilizationServiceTest

@UnitTest public class AzureDatabaseUtilizationServiceTest extends Object
  • Field Details

    • mockitorule

      public org.mockito.junit.MockitoRule mockitorule
  • Constructor Details

    • AzureDatabaseUtilizationServiceTest

      public AzureDatabaseUtilizationServiceTest()
  • Method Details

    • setUp

      public void setUp()
    • shouldThrowException

      public void shouldThrowException()
    • shouldDeliverUtilization

      public void shouldDeliverUtilization() throws SQLException
      Throws:
      SQLException
    • shouldDeliverEmptyUtilizationList

      public void shouldDeliverEmptyUtilizationList() throws SQLException
      Throws:
      SQLException
    • shouldDeliverEmptyUtilizationListOnConnectionValidationError

      public void shouldDeliverEmptyUtilizationListOnConnectionValidationError() throws SQLException
      Throws:
      SQLException
    • shouldDeliverEmptyUtilizationListForInactiveService

      public void shouldDeliverEmptyUtilizationListForInactiveService() throws SQLException
      Throws:
      SQLException
    • shouldBeActive

      public void shouldBeActive() throws SQLException
      Throws:
      SQLException
    • shouldBeInactiveForSQLServerAndMissingView

      public void shouldBeInactiveForSQLServerAndMissingView() throws SQLException
      Throws:
      SQLException
    • shouldBeInactiveForNonSQLServer

      public void shouldBeInactiveForNonSQLServer() throws SQLException
      Throws:
      SQLException