diff options
Diffstat (limited to 'EventMaker/UnitTests/UnitTest.cs')
-rw-r--r-- | EventMaker/UnitTests/UnitTest.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/EventMaker/UnitTests/UnitTest.cs b/EventMaker/UnitTests/UnitTest.cs index a8be37c..0939520 100644 --- a/EventMaker/UnitTests/UnitTest.cs +++ b/EventMaker/UnitTests/UnitTest.cs @@ -1,4 +1,6 @@ using System; +using Windows.UI.Popups; +using EventMaker.Model; using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; namespace UnitTests @@ -7,8 +9,10 @@ namespace UnitTests public class UnitTest1 { [TestMethod] - public void TestMethod1() + public void AddingTestMethod() { + EventCatalogSingleton eventCatalogSingleton = EventCatalogSingleton.Instance; + EventCatalogSingleton.Instance.Add(new Event() { Id = 1, Name = "Party", Description = "Best party ever!", Place = "Roskilde" }); } } } |