tests/functional/StringableInterfaceTest.php
/**
     * Creates a new instance of the test subject.
     *
     * @since 0.1
     *
     * @return Subject|MockObject
     */
Creates a new instance of the test subject.


Creates a new instance of the test subject .
public function createSubject()
    {
        $mock = $this->getMockBuilder(Subject::class)
            ->setMethods(['__toString'])
            ->getMockForAbstractClass();
        return $mock;
    }
public function createSubject ( ) { $ mock = $ this -> getMockBuilder ( Subject :: class ) -> setMethods ( [ '__toString' ] ) -> getMockForAbstractClass ( ) ; return $ mock ; }
Creates a new instance of the test subject.
Creates a new instance of the test subject .