public void SetHostName_AppliesChange() { Guid deviceId = Guid.NewGuid(); string hostname = "SESM-001"; NetworkDevice device = new NetworkDevice(deviceId, hostname); device.SetHostname("NEW"); Assert.AreEqual(device.hostname, "NEW"); }