Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
33.33% |
1 / 3 |
CRAP | |
60.00% |
3 / 5 |
MethodCall | |
0.00% |
0 / 1 |
|
33.33% |
1 / 3 |
3.58 | |
60.00% |
3 / 5 |
__construct | |
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
|||
getMethod | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getArgs | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
namespace Mockery; | |
class MethodCall | |
{ | |
private $method; | |
private $args; | |
public function __construct($method, $args) | |
{ | |
$this->method = $method; | |
$this->args = $args; | |
} | |
public function getMethod() | |
{ | |
return $this->method; | |
} | |
public function getArgs() | |
{ | |
return $this->args; | |
} | |
} |