public function testProductStatusWillBeSetToDeletedWhenProductServiceDeletesProduct() { $product = new Product('test'); $this->productService->delete($product); self::assertEquals(ProductStatus::DELETED, $product->getStatus()); }