Пример #1
0
 /**
  * URLがエージェント用かどうかを判定
  *
  * @param bool $expect 期待値
  * @param string $userAgent ユーザーエージェントの文字列
  * @return void
  * @dataProvider userAgentMatchesDataProvider
  */
 public function testUserAgentMatches($expect, $userAgent)
 {
     $this->assertEquals($expect, $this->agent->userAgentMatches($userAgent));
 }