@Test public void testExecution() { GetTutorialVideoExecution sut = new GetTutorialVideoExecution(tutorialVideoMapper); context.checking(new Expectations() { { oneOf(tutorialVideoMapper).execute(null); will(returnValue(new HashSet<TutorialVideoDTO>())); } }); assertNotNull(sut.execute(null)); context.assertIsSatisfied(); }
@Override public Serializable execute(final PrincipalActionContext inActionContext) { return (Serializable) tutorialVideoMapper.execute(null); }
GetTutorialVideoExecution implements ExecutionStrategy<PrincipalActionContext> { @Override public Serializable execute(final PrincipalActionContext inActionContext) { return (Serializable) tutorialVideoMapper.execute(null); } }
GetTutorialVideoExecution implements ExecutionStrategy<PrincipalActionContext> { @Override public Serializable execute(final PrincipalActionContext inActionContext) { return (Serializable) tutorialVideoMapper.execute(null); } GetTutorialVideoExecution(final DomainMapper<Long, Set<TutorialVideoDTO>> inTutorialVideoMapper); }
GetTutorialVideoExecution implements ExecutionStrategy<PrincipalActionContext> { @Override public Serializable execute(final PrincipalActionContext inActionContext) { return (Serializable) tutorialVideoMapper.execute(null); } GetTutorialVideoExecution(final DomainMapper<Long, Set<TutorialVideoDTO>> inTutorialVideoMapper); @Override Serializable execute(final PrincipalActionContext inActionContext); }
GetTutorialVideoExecution implements ExecutionStrategy<PrincipalActionContext> { @Override public Serializable execute(final PrincipalActionContext inActionContext) { return (Serializable) tutorialVideoMapper.execute(null); } GetTutorialVideoExecution(final DomainMapper<Long, Set<TutorialVideoDTO>> inTutorialVideoMapper); @Override Serializable execute(final PrincipalActionContext inActionContext);  }