Collection<DataProducer> producers = Arrays.asList(new DataProducer[] {new EmptyDataProducer()});
Collection<DataProducer> conffileProducers = Arrays.asList(new DataProducer[] {new EmptyDataProducer()});
DebMaker maker = new DebMaker(new NullConsole(), producers, conffileProducers);
maker.setDeb(deb);
maker.setControl(new File("target/test-classes/org/vafer/jdeb/deb/control"));
maker.setResolver(new MapVariableResolver(variables));
maker.createDeb(Compression.NONE);
// now reopen the package and check the control files
assertTrue("package not build", deb.exists());