Last active
April 25, 2017 10:13
-
-
Save eriktorsner/4d5fd3c8a6862088b76ba6b943d4655b to your computer and use it in GitHub Desktop.
helloTestable MockObjects.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MockLyric | |
{ | |
public function __construct($lyric) | |
{ | |
$this->lyric = $lyric; | |
} | |
public function getLyric() | |
{ | |
return $this->lyric; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment