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 |
getItem()
|
String |
getName()
|
Inherited Method Summary
Public Constructors
public MockItem (String itemName, Multimap<String, Object> values)
Parameters
itemName | |
---|---|
values |