# Laravel Fake Assertions Now Accept Property Arrays

DevFeed: [Laravel Fake Assertions Now Accept Property Arrays](<https://devfeed.tech/articles/laravel-fake-assertions-now-accept-property-arrays-77073.md>)

Original publisher: [Read original article](<https://laravel-news.com/laravel-fake-assertion-property-arrays>)

Author: Paul Redmond

Published: 2026-10-07T20:51:26Z

Content type: tutorial

Language: en

Sources: [Laravel](<https://devfeed.tech/sources/laravel.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [test](<https://devfeed.tech/topics/test.md>), [table driven tests](<https://devfeed.tech/topics/table-driven-tests.md>)

Tags: [laravel](<https://devfeed.tech/tags/laravel.md>), [laravel-tutorials](<https://devfeed.tech/tags/laravel-tutorials.md>), [phpunit](<https://devfeed.tech/tags/phpunit.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

Laravel 13.35 adds array-based property matching to Queue, Bus, Event, and Notification fake assertions, replacing callbacks for straightforward checks. The values use strict equality, except that Eloquent models are compared by identity metadata; nested properties and non-public properties still require callbacks.

## Source excerpt

Laravel 13.35 lets assertPushed(), assertDispatched(), and assertSentTo() take an array of expected properties in place of a callback. The post Laravel Fake Assertions Now Accept Property Arrays appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.