DefaultToggle implements AbilityToggle { @Override public Ability processAbility(Ability ab) { return ab; }  @Override boolean isOff(Ability ability); @Override Ability processAbility(Ability ab);  }
@Test public void passedSameAbilityRefOnProcess() { Ability random = DefaultBot.getDefaultBuilder() .name("randomsomethingrandom").build(); toggle = new DefaultToggle(); defaultBot = new DefaultBot(EMPTY, EMPTY, db, toggle); assertSame(random, toggle.processAbility(random), "Toggle returned a different ability"); }