public void GetComputerTest() { //Create computer with fake ip-address; Computer computer = new Computer { Banned = true, IpAddress = "999.949.999.979" }; BanStorage.CreateComputer(computer); Assert.True(BanStorage.GetComputer("999.949.999.979").Banned); }