BundleBuilder

public final class BundleBuilder

Class for building Bundle matchers

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final Matcher<Bundle> getMatcher()
Link copied to clipboard
public final Unit hasEntry(String key, Object value)
public final Unit hasEntry(Matcher<String> key, Matcher<Object> value)

Matches bundle with given entry

Link copied to clipboard
public final Unit hasKey(String key)
public final Unit hasKey(Matcher<String> key)

Matches bundle with given key

Link copied to clipboard
public final Unit hasValue(Object value)
public final Unit hasValue(Matcher<Object> value)

Matches bundle with given value