public void ShouldThrowOnNonexistingFile() { Assert.Throws <RecoverableException>(() => { currentMachine = new Machine(); device = new SVDParser(Path.Combine("invalid", "path.svd"), currentMachine.SystemBus); }); }
public void Init() { currentMachine = new Machine(); }