@Test
public void compareObjectObject() throws Exception {

	assertZero(this.xml.compare(null, null));
	assertStrictlyPositive(this.xml.compare(new Object(), null));
	assertStrictlyNegative(this.xml.compare(null, new Object()));
	assertZero(this.xml.compare(new File("a"), new File("a"))); //$NON-NLS-1$ //$NON-NLS-2$
	assertStrictlyNegative(this.xml.compare(new File("a"), new File("b"))); //$NON-NLS-1$ //$NON-NLS-2$
	assertZero(this.xml.compare(new URL("file:a"), new URL("file:a"))); //$NON-NLS-1$ //$NON-NLS-2$
	assertStrictlyNegative(this.xml.compare(new URL("file:a"), new URL("file:b"))); //$NON-NLS-1$ //$NON-NLS-2$
	assertZero(this.xml.compare(new File("a"), new URL("file:a"))); //$NON-NLS-1$ //$NON-NLS-2$
	assertStrictlyNegative(this.xml.compare(new File("a"), new URL("file:b"))); //$NON-NLS-1$ //$NON-NLS-2$
}