public void GetResourcesForEnShouldReturnResourceStringsForEn()
 {
     var controller = new HomeController(new ResourceService());
     var result = (ClientResourceCollection)controller.GetResources("tests").Data;
     Assert.AreEqual("User", result["membership"]["user"]);
     Assert.AreEqual("Permission", result["membership"]["permission"]);
     Assert.AreEqual("News", result["cms"]["news"]);
     Assert.AreEqual("Comment", result["cms"]["comment"]);
 }
 public void GetResourcesForNlShouldReturnResourceStringsForNl()
 {
     StrixPlatform.CurrentCultureCode = "nl";
     var controller = new HomeController(new ResourceService());
     var result = (ClientResourceCollection)controller.GetResources("tests").Data;
     StrixPlatform.CurrentCultureCode = null;
     Assert.AreEqual("Gebruiker", result["membership"]["user"]);
     Assert.AreEqual("Recht", result["membership"]["permission"]);
     Assert.AreEqual("Nieuws", result["cms"]["news"]);
     Assert.AreEqual("Commentaar", result["cms"]["comment"]);
 }