public void UnregisteredNameDNT() { Assert.DoesNotThrow(() => UnityDataHolder.changeClientID("", "")); Assert.DoesNotThrow(() => UnityDataHolder.removeClient("")); Assert.DoesNotThrow(() => UnityDataHolder.setString("", ts)); Assert.DoesNotThrow(() => UnityDataHolder.getData("")); }
public void ChangeClientIDNullThrows() { Assert.Throws <NullReferenceException>(() => UnityDataHolder.changeClientID(null, ts)); Assert.Throws <NullReferenceException>(() => UnityDataHolder.changeClientID(ts, null)); }