GeosupportReturnCode { public boolean isRejected() { if (ReturnCodeValue.SUCCESS.is(this.returnCode) || ReturnCodeValue.WARN.is(this.returnCode)) { return false; } return true; }  boolean isCompassDirectionRequired(); boolean isRejected(); boolean hasSimilarNames(); boolean hasReasonCode(); boolean hasMessage(); String getReturnCode(); void setReturnCode(String geosupportReturnCode); String getReasonCode(); void setReasonCode(String reasonCode); String getMessage(); void setMessage(String message); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testIsRejected() { assertTrue(this.grc.isRejected()); this.grc.setReturnCode("00"); assertFalse(this.grc.isRejected()); this.grc.setReturnCode("EE"); assertTrue(this.grc.isRejected()); this.grc.setReturnCode("01"); assertFalse(this.grc.isRejected()); }