### Question:
CounterViewModel extends BaseObservable { public void decrement() { setCount(getCount() - 1); }  void increment(); void decrement(); @Bindable int getCount();  }### Answer:
@Test public void testDecrement() { for (int i = 1; i <= 5; i++) { counterViewModel.decrement(); Assert.assertEquals(i * -1, counterViewModel.getCount()); } }