public function test04_form_year() { $_GET['birthyear'] = '1959'; $birthday = new birthday(); $this->assertRegExp('/value="1959" selected/', $birthday->form_year()); }