public void SettingEmptyDictionaryThrows() { Assert.IsTrue( ExtExcept.IsThrowsException <ArgumentException>( () => { var s = new Spacefier(); s.SetDictonary(new string[] { }); })); }
public void SingleWordDictionaryWontThrow() { Assert.IsFalse( ExtExcept.IsThrowsException <ArgumentException>( () => { var s = new Spacefier(); s.SetDictonary(SingleWordDic); new Spacefier(SingleWordDic); })); }