/**
  * Pressing the delete button should delete the product.
  */
 public function testDeleteButtonDeletesProduct()
 {
     $product = $this->createProduct();
     $this->actingAs($this->staffUser())->visit(route('products.show', ['SKU' => $product->sku]))->press('Delete')->seePageIs(route('products.index'));
     /** @var Product $deletedProduct */
     $deletedProduct = Product::onlyTrashed()->where('id', '=', $product->id)->first();
     $this->assertEquals($product->id, $deletedProduct->id);
     $this->assertTrue($deletedProduct->trashed());
 }