### Question:
FileResourceMirror extends ResourceMirror { @Override public void prepare(GateScript script) throws IOException { return; } FileResourceMirror(String name); @Override String getName(); @Override void prepare(GateScript script); @Override SourceDriver<T> createSource(ProcessScript<T> script); @Override DrainDriver<T> createDrain(ProcessScript<T> script); @Override void close();  }### Answer:
@Test public void prepare() throws Exception { File source = folder.newFile("source"); File drain = folder.newFile("drain"); try (FileResourceMirror resource = new FileResourceMirror("testing")) { ProcessScript<String> script = script(source, drain); resource.prepare(gate(script)); } }