コード例 #1
0
ファイル: ProductTest.php プロジェクト: philipbrown/basket
 /** @test */
 public function should_increment_the_quantity()
 {
     $this->product->increment();
     $this->assertEquals(2, $this->product->quantity);
 }