Class BioMaterialReadServiceTest

java.lang.Object
ubic.gemma.persistence.service.expression.biomaterial.BioMaterialReadServiceTest

@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class) public class BioMaterialReadServiceTest extends Object
Lightweight unit test for BioMaterialReadServiceImpl that verifies each public method delegates to the right BioMaterialDao call without standing up a Spring context. Covers the delegation contract; deeper integration coverage lives in BioMaterialDaoTest.
  • Constructor Details

    • BioMaterialReadServiceTest

      public BioMaterialReadServiceTest()
  • Method Details

    • setUp

      @BeforeEach public void setUp()
    • testCopyDelegates

      @Test public void testCopyDelegates()
    • testFindSubBioMaterialsDelegates

      @Test public void testFindSubBioMaterialsDelegates()
    • testFindSiblingsReturnsEmptyWhenNoSource

      @Test public void testFindSiblingsReturnsEmptyWhenNoSource()
    • testFindSiblingsRemovesSelf

      @Test public void testFindSiblingsRemovesSelf()
    • testFindByExperimentDelegates

      @Test public void testFindByExperimentDelegates()
    • testFindByFactorDelegates

      @Test public void testFindByFactorDelegates()
    • testLoadAndThawOrFailReturnsBmWhenFound

      @Test public void testLoadAndThawOrFailReturnsBmWhenFound()
    • testLoadAndThawOrFailThrowsWhenMissing

      @Test public void testLoadAndThawOrFailThrowsWhenMissing()
    • testGetExpressionExperimentsDelegates

      @Test public void testGetExpressionExperimentsDelegates()
    • testThawCollectionEmpty

      @Test public void testThawCollectionEmpty()