public async Task CanSaveAs() { using (var manager = new PluginManager()) { await manager.LoadCore(new TestCoreMod()); var testFile = new TextFile(); testFile.CreateFile("Test"); var testFileViewModel = new FileViewModel(testFile, manager); Assert.AreEqual(true, testFileViewModel.CanSaveAs(manager)); } }