Class FactorValueReadServiceTest
java.lang.Object
ubic.gemma.persistence.service.expression.experiment.FactorValueReadServiceTest
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
public class FactorValueReadServiceTest
extends Object
Lightweight unit test for
FactorValueReadServiceImpl that verifies each public
method delegates to the right FactorValueDao call without standing up a Spring
context. Covers the delegation contract.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
FactorValueReadServiceTest
public FactorValueReadServiceTest()
-
-
Method Details
-
setUp
@BeforeEach public void setUp() -
testLoadWithExperimentalFactorReturnsNullWhenMissing
@Test public void testLoadWithExperimentalFactorReturnsNullWhenMissing() -
testLoadWithExperimentalFactorDelegates
@Test public void testLoadWithExperimentalFactorDelegates() -
testLoadWithExperimentalFactorOrFailReturnsFv
@Test public void testLoadWithExperimentalFactorOrFailReturnsFv() -
testLoadWithExperimentalFactorOrFailThrowsWhenMissing
@Test public void testLoadWithExperimentalFactorOrFailThrowsWhenMissing() -
testGetExperimentalFactorCategoriesIgnoreAclsDelegates
@Test public void testGetExperimentalFactorCategoriesIgnoreAclsDelegates() -
testGetExpressionExperimentsIgnoreAclsDelegates
@Test public void testGetExpressionExperimentsIgnoreAclsDelegates() -
testLoadWithOldStyleCharacteristicsDelegates
@Test public void testLoadWithOldStyleCharacteristicsDelegates() -
testLoadIdsWithNumberOfOldStyleCharacteristicsDelegates
@Test public void testLoadIdsWithNumberOfOldStyleCharacteristicsDelegates() -
testLoadIgnoreAclsDelegates
@Test public void testLoadIgnoreAclsDelegates() -
testLoadAllOffsetLimitDelegates
@Test public void testLoadAllOffsetLimitDelegates() -
testLoadAllIdsDelegates
@Test public void testLoadAllIdsDelegates() -
testLoadAllIdsOffsetLimitDelegates
@Test public void testLoadAllIdsOffsetLimitDelegates() -
testFindByValueStartingWithDelegates
@Test public void testFindByValueStartingWithDelegates() -
testLoadWithExperimentalFactorOrFailNeverLooksAtFactor_whenMissing
@Test public void testLoadWithExperimentalFactorOrFailNeverLooksAtFactor_whenMissing()
-