Example #1
0
 /**
  * @covers ::getCurrency
  * @covers ::setCurrency
  */
 public function testTest()
 {
     $product = new Product();
     $this->assertEquals('GBP', $product->currency);
     $product->setCurrency(new Currency('BGN'));
     $this->assertEquals('BGN', $product->currency);
     $this->assertEquals(new Currency('BGN'), $product->getCurrency());
 }