@Test public void getWhenExportContextNotInEC() throws Exception { FilesystemExportContext fec = this.provider.get(); assertSame(fec, ec.getProperty("filesystemExportContext")); }
@Override public FilesystemExportContext get() { ExecutionContext ec = this.execution.getContext(); FilesystemExportContext exportContext = (FilesystemExportContext) ec.getProperty(CONTEXT_KEY); if (exportContext == null) { exportContext = new FilesystemExportContext(); newProperty(ec, exportContext); } return exportContext; }
FilesystemExportContextProvider implements Provider<FilesystemExportContext> { @Override public FilesystemExportContext get() { ExecutionContext ec = this.execution.getContext(); FilesystemExportContext exportContext = (FilesystemExportContext) ec.getProperty(CONTEXT_KEY); if (exportContext == null) { exportContext = new FilesystemExportContext(); newProperty(ec, exportContext); } return exportContext; } }
FilesystemExportContextProvider implements Provider<FilesystemExportContext> { @Override public FilesystemExportContext get() { ExecutionContext ec = this.execution.getContext(); FilesystemExportContext exportContext = (FilesystemExportContext) ec.getProperty(CONTEXT_KEY); if (exportContext == null) { exportContext = new FilesystemExportContext(); newProperty(ec, exportContext); } return exportContext; }  }
FilesystemExportContextProvider implements Provider<FilesystemExportContext> { @Override public FilesystemExportContext get() { ExecutionContext ec = this.execution.getContext(); FilesystemExportContext exportContext = (FilesystemExportContext) ec.getProperty(CONTEXT_KEY); if (exportContext == null) { exportContext = new FilesystemExportContext(); newProperty(ec, exportContext); } return exportContext; }  @Override FilesystemExportContext get(); static void set(ExecutionContext ec, FilesystemExportContext exportContext); }
FilesystemExportContextProvider implements Provider<FilesystemExportContext> { @Override public FilesystemExportContext get() { ExecutionContext ec = this.execution.getContext(); FilesystemExportContext exportContext = (FilesystemExportContext) ec.getProperty(CONTEXT_KEY); if (exportContext == null) { exportContext = new FilesystemExportContext(); newProperty(ec, exportContext); } return exportContext; }  @Override FilesystemExportContext get(); static void set(ExecutionContext ec, FilesystemExportContext exportContext);  }