command.getTargetList()))
                .andReturn(targets).anyTimes();
        
        EasyMock.expect(clownfishHelper.getNonRunningTargetModules(
                deploymentManager, moduleType, targets, command))
                .andThrow(new TargetException("mock target exeption"));
        
        EasyMock.replay(log);
        EasyMock.replay(clownfishHelper);
        EasyMock.replay(deploymentManager);