Class MockGraniteAssetManagerWrapper

java.lang.Object
io.wcm.testing.mock.aem.dam.MockGraniteAssetManagerWrapper
All Implemented Interfaces:
com.adobe.granite.asset.api.AssetManager

public final class MockGraniteAssetManagerWrapper extends Object implements com.adobe.granite.asset.api.AssetManager
Mock implementation of Adobe Granite AssetManager. This is done by wrapping a MockAssetManager.
  • Method Details

    • createAsset

      public com.adobe.granite.asset.api.Asset createAsset(String s)
      Specified by:
      createAsset in interface com.adobe.granite.asset.api.AssetManager
    • getAsset

      public com.adobe.granite.asset.api.Asset getAsset(String s)
      Specified by:
      getAsset in interface com.adobe.granite.asset.api.AssetManager
    • assetExists

      public boolean assetExists(String s)
      Specified by:
      assetExists in interface com.adobe.granite.asset.api.AssetManager
    • removeAsset

      public void removeAsset(String s)
      Specified by:
      removeAsset in interface com.adobe.granite.asset.api.AssetManager
    • getAssetByIdentifier

      public com.adobe.granite.asset.api.Asset getAssetByIdentifier(String s)
      Specified by:
      getAssetByIdentifier in interface com.adobe.granite.asset.api.AssetManager
    • copyAsset

      public void copyAsset(String s, String s1)
      Specified by:
      copyAsset in interface com.adobe.granite.asset.api.AssetManager
    • moveAsset

      public void moveAsset(String s, String s1)
      Specified by:
      moveAsset in interface com.adobe.granite.asset.api.AssetManager