diff --git a/tests/Infra/PackageModels/MyWallet.php b/tests/Infra/PackageModels/MyWallet.php new file mode 100644 index 000000000..39fd8e33f --- /dev/null +++ b/tests/Infra/PackageModels/MyWallet.php @@ -0,0 +1,13 @@ + MyWallet::class, + ]); + + /** @var Buyer $buyer */ + $buyer = BuyerFactory::new()->create(); + + /** @var MyWallet $wallet */ + $wallet = $buyer->wallet; + + self::assertSame('hello world', $wallet->helloWorld()); + } +}