public void ValidateStructureFile() { if (!TestHelper.GetDlcPath(out string dlcPath)) { return; } var pathSt = Path.Combine(TestFolder, "validate.st"); File.WriteAllText(pathSt, "b .\nd \"Schema Area\":6,32;1 .\nd \"Data\":11,32;1 ."); var ope = new UoeDatabaseOperator(dlcPath); ope.ValidateStructureFile(GetDb("data"), pathSt); File.WriteAllText(pathSt, "z \"Schema Area\":6,32;1 .\nd \"Order\":11,32;1 . f 1280 \nd \"Order\":11,32;1 ."); Assert.ThrowsException <UoeDatabaseException>(() => ope.ValidateStructureFile(GetDb("data"), pathSt)); }