First passing test for javaEnum.OnOff