/** * @expectedException BadMethodCallException */ public function testStaticBadMethodCallException() { TranslateClient::fooBar('baz'); }