Ejemplo n.º 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());
    }
Ejemplo n.º 2
0
    public async Task CreateTargetBaseLocation()
    {
        // Given
        _configService
        .Config()
        .Returns(
            new JsonConfig
        {
            DryRun = true,
            DestinationDirectory = ""
        });

        var operatingSystemLayerWindows = new OperatingSystemLayerWindows(_configService);

        await operatingSystemLayerWindows.CreateTargetBaseLocation();
    }
Ejemplo n.º 3
0
 public OperatingSystemLayerWindowsTests()
 {
     _operatingSystemLayerWindows = new OperatingSystemLayerWindows(_configService);
 }