private void ConvertToText_EmptyArmaProfile_ShouldReturnText() { IConfig armaProfile = new ArmaProfile(); var parser = new UniversalParser(); var text = parser.ConvertToText(armaProfile); Assert.True(!string.IsNullOrEmpty(text)); }
private void ConvertToText_ValidArmaProfile_ShouldReturnText() { IConfig armaProfile = new ArmaProfile { AiLevelPreset = 2, AreDeathMessagesShown = 1, DefaultDifficulty = "custom", TacticalPingType = 2 }; var parser = new UniversalParser(); var text = parser.ConvertToText(armaProfile); Assert.True(!string.IsNullOrEmpty(text)); }