Ejemplo n.º 1
0
 /**
  * @covers ::getStore
  * @covers ::setStore
  */
 public function testStore()
 {
     $product = new StorePurchase();
     $store = $product->getStore();
     $this->assertInstanceOf('CL\\Purchases\\Store', $store);
     $this->assertTrue($store->isVoid());
     $store = new Store();
     $product->setStore($store);
     $this->assertSame($store, $product->getStore());
 }