public final synchronized List<E> getAllAddOns() {
    Logger.d(mTag, "getAllAddOns has %d add on for %s", mAddOns.size(), getClass().getName());
    if (mAddOns.size() == 0) {
      loadAddOns();
    }
    Logger.d(
        mTag, "getAllAddOns will return %d add on for %s", mAddOns.size(), getClass().getName());
    return unmodifiableList(mAddOns);
  }
@Test
  public void testDoesNotFiltersDebugAddOnOnDebugBuilds() throws Exception {
    TestableAddOnsFactory factory = new TestableAddOnsFactory(true);
    List<TestAddOn> list = factory.getAllAddOns();
    // right now, we have 3 themes that are marked as dev.
    Assert.assertEquals(STABLE_THEMES_COUNT + UNSTABLE_THEMES_COUNT, list.size());
  }