Unit tests for Objectify entities and DAOs
This article explains how to write unit tests (with junit) for Objectify entities and DAOs.
Google Cloud Platform describes how to write unit tests for Google DataStore. A small adaptation enables the same solution for Objectify.
The documentation suggest creating a LocalServiceTestHelper to be initialized in a @Before/setUp() method and disposed in a @After/tearDown() method.
After calling helper.setUp(), initialize the objectify framework by calling ObjectifyService.begin(). Store the returned closable so you can dispose Objectify at the end of your test.

