public function testProductSalableStatus()
{
$product = new Product();
$product->setEnabled(false);
$this->assertFalse($product->isSalable());
$product->setEnabled(true);
$this->assertTrue($product->isSalable());
$product->setVariations(new ArrayCollection(array(new Product())));
$this->assertFalse($product->isSalable());
}