public void setClientPublicWorks() { UnityClientList.setClientPublic(ts, true); Assert.True(UnityClientList.getClientPublic(ts)); UnityClientList.setClientPublic(ts, false); Assert.False(UnityClientList.getClientPublic(ts)); }
public void nullSetClientThrows() { Assert.Throws <NullReferenceException>(() => UnityClientList.setClientPublic(null, true)); }
public void unregisterdNameDNT() { Assert.DoesNotThrow(() => UnityClientList.removeClient("")); Assert.DoesNotThrow(() => UnityClientList.setClientPublic("", true)); Assert.DoesNotThrow(() => UnityClientList.getClientPublic("")); }