mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
29 lines
671 B
PHP
29 lines
671 B
PHP
<?php
|
|
|
|
// Copyright (C) 2010-2024, the Friendica project
|
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace Friendica\Test;
|
|
|
|
use Friendica\Core\Storage\Capability\ICanConfigureStorage;
|
|
use Friendica\Test\MockedTestCase;
|
|
|
|
abstract class StorageConfigTestCase extends MockedTestCase
|
|
{
|
|
/** @return ICanConfigureStorage */
|
|
abstract protected function getInstance();
|
|
|
|
abstract protected function assertOption(ICanConfigureStorage $storage);
|
|
|
|
/**
|
|
* Test if the "getOption" is asserted
|
|
*/
|
|
public function testGetOptions()
|
|
{
|
|
$instance = $this->getInstance();
|
|
|
|
$this->assertOption($instance);
|
|
}
|
|
}
|