Remove staticExpect method deprecated for phpunit 4.x.X