Past Meetup

DevTalks DF14: Apex Unit Testing with ApexMocks Framework

Hosted by FinancialForce DevTalks

Public group

This Meetup is past

70 people went


654 Mission Street · San Francisco, CA

How to find us

The SPUR Urban Center at 654 Mission Street

Location image of event venue


Greetings! Please join us for our next FinancialForce DevTalks event during DF14 on Wed Oct 15, 2014 at SPUR Urban Center (ERPcentral) in San Francisco.

You must RSVP to be able to attend. See you there!
@FinancialForce (


Andy Fawcett, CTO & MVP
Chris Peterson, Sr. PSA Developer & MVP
Jesse Altman, Software Engineer & MVP
Carolina Ruiz Medina, Principal Developer in Product Innovation & MVP


4:00pm – 4:30pm: Pizza, Beer and Networking
4:30pm – 5:00pm: Intro by Andy Fawcett - Enterprise Architecture
5:00pm – 6:00pm: Presentation by Jesse Altman

INTRO BY ANDY FAWCETT: Enterprise Architecture: Blend industry best practices to architect, deliver, and engage users with packaged applications that cater to all your enterprise business needs. (


ApexMocks, an open source framework, was designed to bring Mockito like functionality to Apex. By being able to utilize mock classes, true unit tests can now be run in Apex as opposed to the integration tests that are run now. Mock objects can be used to focus on specific pieces of functionality, mocking or simulating different scenarios in unit tests by controlling the dependencies of a class and only running the relevant code to that test. This opens the door to a true test driven development (TDD) process.

This session will dive into specific reasons to use ApexMocks, followed by insight into how ApexMocks works behind the scenes, concluded with real examples of the ApexMocks framework in action.