MockItem

public class MockItem extends Object

Generates an Item using IndexingItemBuilder with specified values for metadata.

 MockItem item = new MockItem.Builder("ItemName").setTitle("Title").setMimeType("HTML")
     .setContentLanguage("en-us").setItemType(ItemType.CONTENT_ITEM.toString()).build();
 

Nested Class Summary

class MockItem.Builder Builder class to set meta data attributes of an Item. 

Public Constructor Summary

MockItem(String itemName, Multimap<String, Object> values)

Public Method Summary

String
Item
String

Inherited Method Summary

Public Constructors

public MockItem (String itemName, Multimap<String, Object> values)

Parameters
itemName
values

Public Methods

public String getContainerName ()

public Item getItem ()

public String getName ()