public async Task When_authorizing_session() { var userInfo = new UserInfo { Email = "*****@*****.**", FirstName = "FirstName1", Guid = Guid.NewGuid(), LastName = "LastName1", Password = "******" }; await userRepository.InsertUserAsync(userInfo.FirstName, userInfo.LastName, userInfo.Email); var result = await sessionsRepository.AuthorizeSessionAsync(userInfo); Assert.True(result); await userRepository.RemoveUserAsync(userInfo); await sessionsRepository.RemoveSessionAsync(userInfo.Email); }