Skip to content

Instantly share code, notes, and snippets.

@stfalconaleks
Created October 26, 2017 14:12
Show Gist options
  • Save stfalconaleks/ae66a16a5f69c71f63026de9c92f44bd to your computer and use it in GitHub Desktop.
Save stfalconaleks/ae66a16a5f69c71f63026de9c92f44bd to your computer and use it in GitHub Desktop.
class MovieSpec extends ObjectBehavior
{
function it_should_have_john_smith_in_the_cast_with_a_lead_role()
{
$this->getCast()->shouldHaveKeyWithValue('leadRole', 'John Smith');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment