@Override
 public FermatFragment getFermatFragment(AssetFactoryFragmentsEnumType fragments)
     throws FragmentNotFoundException {
   switch (fragments) {
     case DAP_SUB_APP_ASSET_FACTORY_MAIN_ACTIVITY:
       return MainFragment.newInstance();
     case DAP_SUB_APP_ASSET_EDITOR_ACTIVITY:
       return AssetEditorFragment.newInstance(MainFragment.getAssetForEdit());
     default:
       throw new FragmentNotFoundException(
           String.format("Fragment: %s not found", fragments.getKey()),
           new Exception(),
           "fermat-dap-android-wallet-asset-issuer",
           "fragment not found");
   }
 }
 @Override
 public AssetFactoryFragmentsEnumType getFermatFragmentEnumType(String key) {
   return AssetFactoryFragmentsEnumType.getValue(key);
 }