assertEquals($expected, $song->verse(99)); } public function testVerse2() { $this->markTestSkipped(); $expected = "2 bottles of beer on the wall, 2 bottles of beer.\n" . "Take one down and pass it around, 1 bottle of beer on the wall.\n"; $song = new BeerSong(); $this->assertEquals($expected, $song->verse(2)); } public function testVerse1() { $this->markTestSkipped(); $expected = "1 bottle of beer on the wall, 1 bottle of beer.\n" . "Take it down and pass it around, no more bottles of beer on the wall.\n"; $song = new BeerSong(); $this->assertEquals($expected, $song->verse(1)); } public function testVerse0() { $this->markTestSkipped(); $expected = "No more bottles of beer on the wall, no more bottles of beer.\n" . "Go to the store and buy some more, 99 bottles of beer on the wall."; $song = new BeerSong(); $this->assertEquals($expected, $song->verse(0)); } public function testACoupleVerses() { $this->markTestSkipped(); $expected = "99 bottles of beer on the wall, 99 bottles of beer.\n" . "Take one down and pass it around, 98 bottles of beer on the wall.\n" . "\n" . "98 bottles of beer on the wall, 98 bottles of beer.\n" . "Take one down and pass it around, 97 bottles of beer on the wall.\n"; $song = new BeerSong(); $this->assertEquals($expected, $song->verses(99, 98)); } public function testAFewVerses() { $this->markTestSkipped(); $expected = "2 bottles of beer on the wall, 2 bottles of beer.\n" . "Take one down and pass it around, 1 bottle of beer on the wall.\n" . "\n" . "1 bottle of beer on the wall, 1 bottle of beer.\n" . "Take it down and pass it around, no more bottles of beer on the wall.\n" . "\n" . "No more bottles of beer on the wall, no more bottles of beer.\n" . "Go to the store and buy some more, 99 bottles of beer on the wall."; $song = new BeerSong(); $this->assertEquals($expected, $song->verses(2, 0)); } public function testWholeSong() { $this->markTestSkipped(); $expected = <<assertEquals($expected, $song->lyrics()); } }