Google\Cloud\Tests\Datastore\DatastoreSessionHandlerTest::testOpenNotAllowed PHP Method

testOpenNotAllowed() public method

public testOpenNotAllowed ( )
    public function testOpenNotAllowed()
    {
        $this->datastore->transaction()->shouldNotBeCalled()->willReturn($this->transaction->reveal());
        $datastoreSessionHandler = new DatastoreSessionHandler($this->datastore->reveal());
        $datastoreSessionHandler->open('/tmp/sessions', self::KIND);
    }