@Test
public void compareNotEquals2() {
ClassInfo ci = createMock(ClassInfo.class);
expect(ci.getName()).andReturn("java.lang.System").anyTimes();
replay(ci);
FieldInfo f1 = FieldInfo.create(ci, "out", "Ljava/io/PrintStrea;", Modifier.PUBLIC | Modifier.STATIC, 0, 0);
FieldInfo f2 = FieldInfo.create(ci, "out", "Ljava/io/PrintStream;", Modifier.PUBLIC | Modifier.STATIC, 0, 0);
int result = new FieldInfoComparator().compare(f1, f2);
assertTrue(result < 0);
}