DataSift\Storyplayer\Prose\AssertsObjectTest::testCanInstantiate PHP Method

testCanInstantiate() public method

public testCanInstantiate ( )
    public function testCanInstantiate()
    {
        // ----------------------------------------------------------------
        // setup your test
        $i = new Injectables();
        $i->initOutputSupport();
        $i->initRuntimeConfigSupport($i);
        $st = new StoryTeller($i);
        $expectedArray = array(new stdClass());
        // ----------------------------------------------------------------
        // perform the change
        $obj = new AssertsObject($st, $expectedArray);
        // ----------------------------------------------------------------
        // test the results
        $this->assertTrue($obj instanceof AssertsObject);
    }
AssertsObjectTest