Skip to content

Instantly share code, notes, and snippets.

@knewter
Created May 30, 2014 16:02
Show Gist options
  • Save knewter/8f63e07bf10fe49656ab to your computer and use it in GitHub Desktop.
Save knewter/8f63e07bf10fe49656ab to your computer and use it in GitHub Desktop.
@Test
public void testImportingEastWorkspaceCreatesCanvas() throws Exception {
EastWorkspace eastWorkspace = readEastWorkspace("/simple_workspace_with_one_search.xml");
CaseEntity importCaseEntity = new CaseEntity();
EastWorkspaceImporter importer = new EastWorkspaceImporter(importCaseEntity, eastWorkspace);
CaseEntity caseEntity = importer.buildCaseEntity();
Assert.assertTrue(caseEntity.getCanvas() instanceof Canvas);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment