Utility method to create a stub Commit for any tests that need one
Custom expectations can be set via the $configure parameter
public static getStubCommit ( Bart\BaseTestCase $phpu, string $revision = 'HEAD', callable $configure = null ) : |
||
$phpu | Bart\BaseTestCase | |
$revision | string | |
$configure | callable | Shmock configuration function |
Résultat |