add tests
All checks were successful
SonarQube / Build and analyze (push) Successful in 3m39s

This commit is contained in:
Leonid Pershin
2025-10-21 02:30:04 +03:00
parent 928ae0555e
commit 2a26e84100
15 changed files with 1837 additions and 61 deletions

View File

@@ -329,4 +329,8 @@ public class TelegramBotClientWrapperTests : UnitTestBase
var attributes = returnType.GetCustomAttributes(false);
attributes.Should().NotBeNull();
}
// Note: Tests for GetMeAsync removed because GetMe is an extension method
// and cannot be mocked with Moq. The wrapper simply delegates to the
// TelegramBotClient extension method, which is tested by the Telegram.Bot library itself.
}