@Test
public void testGetPublishers() {

	NetworkSchema.setSchemaFilePath("testNetworks.txt");
	NetworkSchema.reloadDefinitions();
	
	NetworkDescriptor schema = NetworkSchema.getNetwork("PivotPoint");
	assertNotNull(schema);
	
	assertEquals("PivotPoint", schema.getNetworkName());
	assertEquals(8, schema.getNodeDescriptors().size());
	
	List<AnalyticNodeDescriptor> publishers = schema.getPublishers();
	assertTrue(!publishers.isEmpty());
	assertEquals(7, publishers.size());
	for(AnalyticNodeDescriptor and : publishers) {
		assertTrue(!and.getSpecifier().equals("PP_R2"));
	}
}