Useful test constructor or Unit tests in RefMetaDataTracker
This commit is contained in:
parent
285e61a227
commit
ab06d53867
|
|
@ -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) {
|
public RefMetaDataTracker(final Collection<RODRecordList> allBindings, final ReferenceContext ref) {
|
||||||
this.ref = ref;
|
this.ref = ref;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue