@Test public void testIncrement() { for (int i = 1; i <= 5; i++) { counterViewModel.increment(); Assert.assertEquals(i, counterViewModel.getCount()); } }
public void increment() { setCount(getCount() + 1); }
CounterViewModel extends BaseObservable { public void increment() { setCount(getCount() + 1); } }
CounterViewModel extends BaseObservable { public void increment() { setCount(getCount() + 1); }  }
CounterViewModel extends BaseObservable { public void increment() { setCount(getCount() + 1); }  void increment(); void decrement(); @Bindable int getCount(); }
CounterViewModel extends BaseObservable { public void increment() { setCount(getCount() + 1); }  void increment(); void decrement(); @Bindable int getCount();  }