Esempio n. 1
0
 /** @test */
 public function compensateRemovesNumber()
 {
     $count = new Count();
     $count->init();
     $count->accumulate(1);
     $count->accumulate(1);
     $count->compensate(1);
     $this->assertEquals(1, $count->emit());
 }