SilverStripe\Assets\Tests\Storage\AssetStoreTest\TestAssetStore

Allows you to mock a backend store in a custom directory beneath assets.