use of org.opennms.netmgt.config.jdbc.JdbcDataCollection in project opennms by OpenNMS.
the class JdbcCollectorTest method canCollectEmptyCollection.
@Test
public void canCollectEmptyCollection() throws Exception {
JdbcDataCollection collection = new JdbcDataCollection();
CollectionSet collectionSet = collect(collection);
assertEquals(CollectionStatus.SUCCEEDED, collectionSet.getStatus());
assertEquals(0, CollectionSetUtils.getAttributesByName(collectionSet).size());
}
Aggregations