diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataBOTest.java b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataBOTest.java index ecd7597c8a47db1e7cfcdbf910d3e5249151cb88..1abf7ae9f888f7ed8fc7ae5ef79f3a9fb9c14c3e 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataBOTest.java +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataBOTest.java @@ -545,8 +545,6 @@ public class ExternalDataBOTest extends AbstractBOTest identifier.getSpaceCode(), identifier.getProjectCode()); will(returnValue(ManagerTestTool.EXAMPLE_PROJECT)); - one(daoFactory).getExperimentDAO(); - will(returnValue(experimentDAO)); one(experimentDAO).tryFindByCodeAndProject(ManagerTestTool.EXAMPLE_PROJECT, identifier.getExperimentCode()); will(returnValue(experiment));