关于
This skill empowers developers to write robust unit tests for Symfony projects by providing specialized patterns for creating various test doubles. It streamlines the process of isolating the System Under Test (SUT) from its dependencies, covering everything from basic PHPUnit stubs and expectations to readable Prophecy syntax and high-performance in-memory fakes. With specific guidance for mocking core Symfony components like the EntityManager, Repositories, and the MessageBus, this skill ensures your test suite remains fast, decoupled, and maintainable.