Example #1
0
    public async Task GetSourcePaths()
    {
        // Given
        _configService
        .Config()
        .Returns(
            new JsonConfig
        {
            DryRun        = true,
            IncludeMyPath = true
        });

        var operatingSystemLayerWindows = new OperatingSystemLayerWindows(_configService);

        Assert.NotNull(await operatingSystemLayerWindows.SourcePaths());
    }
Example #2
0
    public async Task CreateTargetBaseLocation()
    {
        // Given
        _configService
        .Config()
        .Returns(
            new JsonConfig
        {
            DryRun = true,
            DestinationDirectory = ""
        });

        var operatingSystemLayerWindows = new OperatingSystemLayerWindows(_configService);

        await operatingSystemLayerWindows.CreateTargetBaseLocation();
    }
Example #3
0
 public OperatingSystemLayerWindowsTests()
 {
     _operatingSystemLayerWindows = new OperatingSystemLayerWindows(_configService);
 }