summaryrefslogtreecommitdiffstats
path: root/configserver/src/main/java/com/yahoo/vespa/config/server/filedistribution/MockFileDistributionProvider.java
blob: 588d7c259b661bf1eb8462a6daa96fdf51cca30e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.filedistribution;

import com.yahoo.config.model.application.provider.MockFileRegistry;

/**
 * @author lulf
 * @since 5.1
 */
public class MockFileDistributionProvider extends FileDistributionProvider {

    public MockFileDistributionProvider() {
        super(new MockFileRegistry(), new MockFileDBHandler());
    }

    public MockFileDBHandler getMockFileDBHandler() {
        return (MockFileDBHandler) getFileDistribution();
    }
}