public function test_creates_order_and_notifies_warehouse()
{
// Arrange
$data = [
'customer_id' => Customer::factory()->create()->getKey(),
'total' => 100.00,
];
// Act
$action = $this->app->make(CreateOrderAction::class);
$order = $action->execute($data);
// Assert
$this->assertDatabaseHas(Order::class, [
'customer_id' => $data['customer_id'],
'total' => $data['total'],
]);
}