| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 17 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 39 | public function testConfirmQuestion()  | 
            ||
| 40 |     { | 
            ||
| 41 | $wizard = new Wizard();  | 
            ||
| 42 | |||
| 43 | $name = 'Dave Mustaine';  | 
            ||
| 44 | $email = '[email protected]';  | 
            ||
| 45 | $vendor = 'bands/megadeth';  | 
            ||
| 46 | $author = "$name <$email>";  | 
            ||
| 47 | $descr = 'Rust In Peace Theme';  | 
            ||
| 48 | |||
| 49 | $question = $wizard->confirm($vendor, $author, $descr);  | 
            ||
| 50 | |||
| 51 | $this->assertConfirmQuestion($question);  | 
            ||
| 52 | $this->assertStringContainsString($vendor, $question->ask);  | 
            ||
| 53 | $this->assertStringContainsString($name, $question->ask);  | 
            ||
| 54 | $this->assertStringContainsString($email, $question->ask);  | 
            ||
| 55 | $this->assertStringContainsString($descr, $question->ask);  | 
            ||
| 56 | }  | 
            ||
| 57 | }  |