22 lines
539 B
C#
22 lines
539 B
C#
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
using System;
|
|
using PWAPPv2.Source;
|
|
|
|
namespace UnitTests
|
|
{
|
|
[TestClass]
|
|
public class ConfigTest
|
|
{
|
|
[TestMethod]
|
|
public void TestGetPracticeConfigs()
|
|
{
|
|
PWAPPv2.Source.Config.Configuration configuration = new PWAPPv2.Source.Config.Configuration(".\\Config\\PracticeConfig.xml");
|
|
Assert.IsNotNull(configuration);
|
|
|
|
string apiKey = configuration.Get("pwapiid");
|
|
Assert.IsNotNull(apiKey);
|
|
|
|
}
|
|
}
|
|
}
|