Can also use `Entity entity1 = Iterables.find(app.getChildren(), EntityPredicates.displayNameEqualTo("entity 1"))`.
That does the assertNotNull for you (throws NoSuchElementException if not found).