unit testing LegacyMethod in fcrepo-jms