public async Task Given_RoomNameAndUserName_ValidArguments_Then_DeleteRoomShouldDeleteRoom() { 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" }); DbInMemorySqlite.ChangeTracker.Clear(); await _messageHub.DeleteRoom("RoomieGroomie", "Vasea"); Assert.False(DbInMemorySqlite.Rooms.Any()); }