if (expectedStream == null) {
throw new IllegalArgumentException("Cannot find " + latestSystemId);
}
String expected = readAsString(expectedStream);
RemotePolicyMigrator migrator = new RemotePolicyMigratorImpl();
String result = migrator.migratePolicy(inputStream, inputSystemId);
System.out.println("Expected: " + expected);
System.out.println("Actual: " + result);
assertXMLEquals("Result should match", expected, result);