public async Task Given_UserName_When_ValidUserName_And_UserHasRooms_Then_GetUserRoomsShouldReturnUserRooms() { Assert.False(DbInMemorySqlite.Rooms.Any()); DatabaseSetup.AddUser(DbInMemorySqlite); _messageHub = new MessageHub(DbInMemorySqlite); AssignToHubRequiredProperties(_messageHub); await _messageHub.CreateRoom(new RoomModel { RoomName = "RoomieGroomie", UserName = "******", Category = ItemCategory.categories[0] }, new ItemModel { Name = "Flowers", Category = ItemCategory.categories[0], Description = "A flower", URL = "flowerurlhahahehe.com" }); var roomFromDb = _messageHub.GetUserRooms("Vasea"); Assert.NotNull(roomFromDb); }