CoreClass { public int getCoreFlag(boolean isTrue) { return isTrue ? 1 : -1; }  int getCoreFlag(boolean isTrue);  }
@Test public void falseFlag() throws Exception { assertEquals(-1, new CoreClass().getCoreFlag(false)); }
@Test public void trueFlag() throws Exception { assertEquals(1, new CoreClass().getCoreFlag(true)); }