Writing True Unit Tests Using Dependency Injection and Mocking

Writing True Unit Tests Using Dependency Injection and Mocking

Writing robust unit tests can be tricky but can be helped greatly by applying patterns of dependency injection and inversion of control. Come learn what DI and IoC are, and how they can be applied in several patterns for testing in Apex.
Watch the latest videos from Salesforce.
Welcome to Salesforce Customer 360, One Integrated CRM Platform for uniting Marketing, Sales, Commerce, Service, and I.T. Departments.
Watch stories filled with thought leadership, inspiration, and insights from business leaders and our greater community.

Join our ten-part series to hear top CEOs share their stories with host Monica Langley.

Meet today's most innovative marketers.
Hear how Trailblazers in education are ensuring class is in session for all.
Female leaders discuss challenging the status quo and forging a new path forward for everyone.

Discover more videos & live broadcasts on Salesforce LIVE.