use of org.cytoscape.property.BasicCyProperty in project cytoscape-impl by cytoscape.
the class BookmarksCyProperty method setup.
@Before
public void setup() {
Properties coreP = new Properties();
coreP.setProperty("cyPropertyName", "cytoscape3.props");
Properties p = new Properties();
p.setProperty("cyPropertyName", "bookmarks");
CyProperty<Properties> cyProp = new BasicCyProperty(new Properties(), CyProperty.SavePolicy.CONFIG_DIR);
registerMockService(CyProperty.class, cyProp, coreP);
BookmarksCyProperty cyBookProp = new BookmarksCyProperty(new Bookmarks(), CyProperty.SavePolicy.CONFIG_DIR);
registerMockService(CyProperty.class, cyBookProp, p);
registerMockService(BookmarksUtil.class);
registerMockService(FileUtil.class);
}
Aggregations