private static IMockableTable<Room> CreateRooms() { var rooms = new[] { new Room { Id = 1, Name = "tester", Allowed = true } }; return new MemoryTable<Room>(rooms); }
private static IMockableTable<Computer> CreateComputers() { var computers = new[] { new Computer { CurrentUser = "******", IpAddress = "100.100.100.100", Banned = true } }; return new MemoryTable<Computer>(computers); }
private static IMockableTable<RoomAttachment> CreateRoomAttachments() { var roomAttachments = new[] { new RoomAttachment { ComputerIp = "100.100.100.100", RoomId = 1 } }; return new MemoryTable<RoomAttachment>(roomAttachments); }