Created
September 25, 2018 14:05
-
-
Save jasonmccallister/fbcc700bb46e62c02836962c8ee9b09e to your computer and use it in GitHub Desktop.
PHPUnit Test Function Snippet (php.json)
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
{ | |
"PHPUnit Test Method": { | |
"prefix": "tf", | |
"body": [ | |
"/**", | |
"* @test", | |
"*/", | |
"public function $1()", | |
"{", | |
"\t// Arrange", | |
"\t$2", | |
"\t", | |
"\t// Act", | |
"\t$3", | |
"\t", | |
"\t// Assert", | |
"\t$0", | |
"}" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment