Code AnalysisIntermediate 60s
Ports and Adapters Testing
class AccountService:
def __init__(self):
self.repo = MySQLAccountRepo() # concrete, hard-wired
To make this unit-testable with a fake, what refactor is required?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.