Class DifferentialExpressionAnalysisReadServiceTest

java.lang.Object
ubic.gemma.persistence.service.analysis.expression.diff.DifferentialExpressionAnalysisReadServiceTest

@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class) public class DifferentialExpressionAnalysisReadServiceTest extends Object
Lightweight unit test for DifferentialExpressionAnalysisReadServiceImpl that verifies each public method delegates to the right DAO call without standing up a Spring context. Covers the delegation contract for the simple findBy* cluster; the heavier thaw, thawFully, and findByExperimentIds methods involve Hibernate initialization and are covered by integration tests in DifferentialExpressionAnalysisServiceTest and the dao-level tests.
  • Constructor Details

    • DifferentialExpressionAnalysisReadServiceTest

      public DifferentialExpressionAnalysisReadServiceTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • testLoadWithExperimentAnalyzedReturnsNullWhenMissing

      @Test public void testLoadWithExperimentAnalyzedReturnsNullWhenMissing()
    • testFindByNameDelegates

      @Test public void testFindByNameDelegates()
    • testFindByFactorDelegates

      @Test public void testFindByFactorDelegates()
    • testFindExperimentsWithAnalysesDelegates

      @Test public void testFindExperimentsWithAnalysesDelegates()
    • testFindByExperimentAndAnalysisIdDelegates

      @Test public void testFindByExperimentAndAnalysisIdDelegates()
    • testFindByExperimentDelegates

      @Test public void testFindByExperimentDelegates()
    • testFindByExperimentsDelegates

      @Test public void testFindByExperimentsDelegates()
    • testGetExperimentsWithAnalysisDelegates

      @Test public void testGetExperimentsWithAnalysisDelegates()
    • testCanDeleteDelegatesToResultSetDao

      @Test public void testCanDeleteDelegatesToResultSetDao()
    • testCanDeleteReturnsFalse

      @Test public void testCanDeleteReturnsFalse()
    • testThawCollectionEmpty

      @Test public void testThawCollectionEmpty()