Useful test constructor or Unit tests in RefMetaDataTracker

This commit is contained in:
Mark DePristo 2012-04-10 09:34:28 -04:00
parent 285e61a227
commit ab06d53867
1 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,14 @@ public class RefMetaDataTracker {
//
// ------------------------------------------------------------------------------------------
/**
* Only for testing -- not accesssible in any other context
*/
public RefMetaDataTracker() {
ref = null;
map = Collections.emptyMap();
}
public RefMetaDataTracker(final Collection<RODRecordList> allBindings, final ReferenceContext ref) {
this.ref = ref;