| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | public function testCheckoutAndRemove() : void  | 
            ||
| 17 |     { | 
            ||
| 18 | $sourceRepositoryPath = realpath(__DIR__ . '/../../../');  | 
            ||
| 19 | |||
| 20 | $git = new GitCheckoutRevisionToTemporaryPath();  | 
            ||
| 21 | |||
| 22 | $temporaryClone = $git->checkout(  | 
            ||
| 23 | CheckedOutRepository::fromPath($sourceRepositoryPath),  | 
            ||
| 24 |             Revision::fromSha1('428327492a803b6e0c612b157a67a50a47275461') | 
            ||
| 25 | );  | 
            ||
| 26 | |||
| 27 | self::assertInstanceOf(CheckedOutRepository::class, $temporaryClone);  | 
            ||
| 28 | |||
| 29 | $git->remove($temporaryClone);  | 
            ||
| 30 | }  | 
            ||
| 32 |