Useup::phpunit()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace UnicadeAssert;
4
5
class Useup
6
{
7
    /**
8
     * @return \PHPUnit_Framework_Assert
9
     */
10
    public static function phpunit()
11
    {
12
        return new PHPUnitFacade();
13
    }
14
    /**
15
     * @return \Assert\Assertion
16
     */
17
    public static function beberlei()
18
    {
19
        return new BeberleiFacade();
20
    }
21
    /**
22
     * @return \Webmozart\Assert\Assert
23
     */
24
    public static function webmozart()
25
    {
26
        return new WebmozartFacade();
27
    }
28
    /**
29
     * @return CustomAssert
30
     */
31
    public static function webAssert(\Behat\Mink\Mink $minkContext)
32
    {
33
        return new CustomAssert($minkContext->getSession());
34
    }
35
}
36