public void Execute_ExistingFileButNotEmpty_True() { var fileArgs = new FileExistsConditionArgs ( @"Temp\", new LiteralScalarResolver <string>(@"Target"), new LiteralScalarResolver <string>(@"myFile.txt"), new LiteralScalarResolver <bool>(true) ); var condition = new FileExistsCondition(fileArgs); Assert.That(condition.Validate(), Is.True); }
public FileExistsCondition(FileExistsConditionArgs args) => Args = args;