use of com.google.refine.ProjectManagerStub in project OpenRefine by OpenRefine.
the class SqlExporterTests method SetUp.
@BeforeMethod
public void SetUp() {
SUT = new SqlExporter();
writer = new StringWriter();
ProjectManager.singleton = new ProjectManagerStub();
projectMetadata = new ProjectMetadata();
project = new Project();
projectMetadata.setName(TEST_PROJECT_NAME);
ProjectManager.singleton.registerProject(project, projectMetadata);
engine = new Engine(project);
options = mock(Properties.class);
}
Aggregations