public function testSetGetSaleStartDate() { $product = new Product(); $product->setSaleStartDate(new \DateTime()); $this->assertInstanceOf('DateTime', $product->getSaleStartDate()); }