PhpSpec\Wrapper\Subject\SubjectWithArrayAccess::interfaceNotImplemented PHP Method

interfaceNotImplemented() private method

private interfaceNotImplemented ( ) : PhpSpec\Exception\Fracture\InterfaceNotImplementedException
return PhpSpec\Exception\Fracture\InterfaceNotImplementedException
    private function interfaceNotImplemented()
    {
        return new InterfaceNotImplementedException(sprintf('%s does not implement %s interface, but should.', $this->presenter->presentValue($this->caller->getWrappedObject()), $this->presenter->presentString('ArrayAccess')), $this->caller->getWrappedObject(), 'ArrayAccess');
    }