PHPUnit and anonymous classes as „mocks“
I implemented a process from login to a third party system. Because I wanted to be sure to use the right keys and don’t mix up anything between the login subscriber, the message creator and the handler which handles the message from the queue. In-memory queue for testing My first idea was to use an […]