public static DraweeController mockController() {
    DraweeController controller = mock(AbstractDraweeController.class);
    stubGetAndSetHierarchy(controller);
    stubGetAndSetContentDescription(controller);
    return controller;
  }
Creates a mock DraweeController with some methods stubbed.

@return mock DraweeController
drawee/src/test/java/com/facebook/drawee/testing/DraweeMocks.java