### Question:
DockerAssemblyManager { public AssemblyFiles getAssemblyFiles(String name, BuildConfiguration buildConfig, MavenBuildContext mojoParams, KitLogger log) throws InvalidAssemblerConfigurationException, ArchiveCreationException, AssemblyFormattingException, IOException { BuildDirs buildDirs = createBuildDirs(name, mojoParams); AssemblyConfiguration assemblyConfig = buildConfig.getAssemblyConfiguration(); String assemblyName = assemblyConfig.getName(); DockerAssemblyConfigurationSource source = new DockerAssemblyConfigurationSource(mojoParams, buildDirs, assemblyConfig); Assembly assembly = getAssemblyConfig(assemblyConfig, source); synchronized (trackArchiver) { MappingTrackArchiver ta = (MappingTrackArchiver) trackArchiver; ta.init(log, assemblyName); assembly.setId("tracker"); assemblyArchiver.createArchive(assembly, assemblyName, "track", source, false, null); return ta.getAssemblyFiles(mojoParams.getSession()); } }  File createDockerTarArchive(String imageName, MavenBuildContext params, BuildConfiguration buildConfig, KitLogger log); File createDockerTarArchive(String imageName, final MavenBuildContext params, final BuildConfiguration buildConfig, KitLogger log, ArchiverCustomizer finalCustomizer); AssemblyFiles getAssemblyFiles(String name, BuildConfiguration buildConfig, MavenBuildContext mojoParams, KitLogger log); File createChangedFilesArchive(List<AssemblyFiles.Entry> entries, File assemblyDirectory,
                                          String imageName, MavenBuildContext mojoParameters); static final String DEFAULT_DATA_BASE_IMAGE; static final String SCRATCH_IMAGE; static final String DOCKER_IGNORE; static final String DOCKER_EXCLUDE; static final String DOCKER_INCLUDE; static final String DOCKERFILE_NAME; }### Answer:
@Test public void assemblyFiles(@Injectable final MavenBuildContext mojoParams, @Injectable final MavenProject project, @Injectable final Assembly assembly) throws AssemblyFormattingException, ArchiveCreationException, InvalidAssemblerConfigurationException , AssemblyReadException, IllegalAccessException, IOException { ReflectionUtils.setVariableValueInObject(assemblyManager, "trackArchiver", trackArchiver); new Expectations() {{ mojoParams.getOutputDirectory(); result = "target/"; times = 3; mojoParams.getProject(); project.getBasedir(); result = "."; assemblyReader.readAssemblies((AssemblerConfigurationSource) any); result = Arrays.asList(assembly); }}; BuildConfiguration buildConfig = createBuildConfig(); assemblyManager.getAssemblyFiles("testImage", buildConfig, mojoParams, prefixedLogger); }