kahlan\cli\Kahlan::registerMatchers PHP Method

registerMatchers() public static method

Regiter built-in matchers.
public static registerMatchers ( )
    public static function registerMatchers()
    {
        Matcher::register('toBe', 'Kahlan\\Matcher\\ToBe');
        Matcher::register('toBeA', 'Kahlan\\Matcher\\ToBeA');
        Matcher::register('toBeAn', 'Kahlan\\Matcher\\ToBeA');
        Matcher::register('toBeAnInstanceOf', 'Kahlan\\Matcher\\ToBeAnInstanceOf');
        Matcher::register('toBeCloseTo', 'Kahlan\\Matcher\\ToBeCloseTo');
        Matcher::register('toBeEmpty', 'Kahlan\\Matcher\\ToBeFalsy');
        Matcher::register('toBeFalsy', 'Kahlan\\Matcher\\ToBeFalsy');
        Matcher::register('toBeGreaterThan', 'Kahlan\\Matcher\\ToBeGreaterThan');
        Matcher::register('toBeLessThan', 'Kahlan\\Matcher\\ToBeLessThan');
        Matcher::register('toBeNull', 'Kahlan\\Matcher\\ToBeNull');
        Matcher::register('toBeTruthy', 'Kahlan\\Matcher\\ToBeTruthy');
        Matcher::register('toContain', 'Kahlan\\Matcher\\ToContain');
        Matcher::register('toContainKey', 'Kahlan\\Matcher\\ToContainKey');
        Matcher::register('toContainKeys', 'Kahlan\\Matcher\\ToContainKey');
        Matcher::register('toEcho', 'Kahlan\\Matcher\\ToEcho');
        Matcher::register('toEqual', 'Kahlan\\Matcher\\ToEqual');
        Matcher::register('toHaveLength', 'Kahlan\\Matcher\\ToHaveLength');
        Matcher::register('toMatch', 'Kahlan\\Matcher\\ToMatch');
        Matcher::register('toReceive', 'Kahlan\\Matcher\\ToReceive');
        Matcher::register('toBeCalled', 'Kahlan\\Matcher\\ToBeCalled');
        Matcher::register('toThrow', 'Kahlan\\Matcher\\ToThrow');
        Matcher::register('toMatchEcho', 'Kahlan\\Matcher\\ToMatchEcho');
    }