public void Constructor_WhenCalled_SetupProperties() { var sut = new ZappConfig(); Assert.That(sut.Rest, Is.Not.Null); Assert.That(sut.Pack, Is.Not.Null); Assert.That(sut.Fuse, Is.Not.Null); Assert.That(sut.Sync, Is.Not.Null); }
private ZappConfig Prefab() { var cfg = new ZappConfig(); logService.Warn($"{filePath} was not found, created pre-fab file."); string content = JsonConvert.SerializeObject(cfg, Formatting.Indented); file.WriteAllText(filePath, content); return(cfg); }