Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task IsValidTokenAsync_WhenTokenIsPresentInDatabase_ReturnsTrue() { //ARRANGE _token = Guid.NewGuid(); DatabaseOperations.AddToken(_token); // ACT var isTokenValid = await _tokenRepository.IsValidTokenAsync(_token); // ASSERT isTokenValid.Should().BeTrue(); }