Example #1
0
 /**
  * コントロールソースを取得する
  * 
  * MEMO: $optionのテストについては、UserTest でテスト済み
  * 
  * @param string $field フィールド名
  * @param array $options
  * @param array $expected 期待値
  * @param string $message テストが失敗した時に表示されるメッセージ
  * @dataProvider getControlSourceDataProvider
  */
 public function testGetControlSource($field, $expected, $message = null)
 {
     $result = $this->Page->getControlSource($field);
     $this->assertEquals($expected, $result, $message);
 }