public its_name_generates_name_based_on_interface_shortnames ( ReflectionClass $interface1, ReflectionClass $interface2 ) | ||
$interface1 | ReflectionClass | |
$interface2 | ReflectionClass |
function its_name_generates_name_based_on_interface_shortnames(\ReflectionClass $interface1, \ReflectionClass $interface2)
{
$interface1->getShortName()->willReturn('HandlerInterface');
$interface2->getShortName()->willReturn('LoaderInterface');
$this->name(null, array($interface1, $interface2))->shouldStartWith('Double\\HandlerInterface\\LoaderInterface\\P');
}