public void ExpectInitialisingWithEmptyFolderToFail() { Assert.Throws <ArgumentException>(() => { Localiser.Initialise("InvalidFolderName_Does_Not_Exist", "en-GB"); }); Assert.IsFalse(Localiser.Initialised); }
public void ExpectLocaliserToInitialise() { Assert.DoesNotThrow(() => { Localiser.Initialise("", "en-GB"); }); Assert.IsTrue(Localiser.Initialised); }