@Test public void unsetLevel2Test() { context.setLevel2(3); context.setLevel2(0); assertEquals(0, buffer.getPersistentParams().size()); assertEquals(0, buffer.getVolatileParams().size()); }
public void setLevel2(int level2) { if (level2 > 0) { setLevel2(String.valueOf(level2)); } else { setLevel2(null); } }
Context { public void setLevel2(int level2) { if (level2 > 0) { setLevel2(String.valueOf(level2)); } else { setLevel2(null); } } }
Context { public void setLevel2(int level2) { if (level2 > 0) { setLevel2(String.valueOf(level2)); } else { setLevel2(null); } } Context(Tracker tracker); }
Context { public void setLevel2(int level2) { if (level2 > 0) { setLevel2(String.valueOf(level2)); } else { setLevel2(null); } } Context(Tracker tracker); int getLevel2(); String getLevel2String(); BackgroundMode getBackgroundMode(); void setLevel2(int level2); void setLevel2(String level2); void setBackgroundMode(BackgroundMode backgroundMode); }
Context { public void setLevel2(int level2) { if (level2 > 0) { setLevel2(String.valueOf(level2)); } else { setLevel2(null); } } Context(Tracker tracker); int getLevel2(); String getLevel2String(); BackgroundMode getBackgroundMode(); void setLevel2(int level2); void setLevel2(String level2); void setBackgroundMode(BackgroundMode backgroundMode);  }