Extract request building to a separate class
Add tests for RestConnector
Move API configuration setup to BaseTest
Extract mocking the request builder
Refactor the perform() method
Simplify Item::toArray()
Add missing use statement for Request
Add tests for RequestBuilder