How does that verify it was successful? The method never returns something different... If you just want to have it executed, just call it. And if you need an assertion to happen so PHPUnit does not complain about nothing being asserted, you can do an assertTrue( true );