### Question:
LocalAssetStoreFactory implements AssetStoreFactory { @Override public boolean supports(String identifier) { return "local".equalsIgnoreCase(identifier) || LocalAssetStore.class.getName().equals(identifier); }  @Override boolean supports(String identifier); @Override AssetStore getObject(); @Override Class<?> getObjectType();  }### Answer:
@Test public void shouldSucceedSupports_local() { assertTrue("Factory should support identifier.", assetStoreFactory.supports("local")); }
@Test public void shouldSucceedSupports_className() { assertTrue("Factory should support identifier.", assetStoreFactory.supports(LocalAssetStore.class.getName())); }