Architecture Clean Code Testability Testing

How to unit test a class that uses static API

Make the code testable, as well as introduce an important principle that improves your architecture by making it cleaner and more flexible