I'm trying to make sure that my events are indeed getting fired and I came up with this unit test. The test works but asserting that true equals true seems like a hack. Is there a proper way to test this?
$eventManager->attach('mymethod.post', function() {
$this->assertTrue(true);
});
Julian.
