Package org.carrot2.labs.test
Class CssPropertyListAssertion
java.lang.Object
org.carrot2.labs.test.CssPropertyListAssertion
Assertions on lists of
CssProperty
instances.-
Constructor Summary
ConstructorsConstructorDescriptionCssPropertyListAssertion
(List<org.carrot2.labs.smartsprites.css.CssProperty> actual) Creates aMessage
list assertion object. -
Method Summary
Modifier and TypeMethodDescriptionisEmpty()
Checks if is empty.isEquivalentTo
(List<org.carrot2.labs.smartsprites.css.CssProperty> properties) Asserts that the current message list is equivalent to the provided expected message list.isEquivalentTo
(org.carrot2.labs.smartsprites.css.CssProperty... properties) Asserts that the current message list is equivalent to the provided expected message list.
-
Constructor Details
-
CssPropertyListAssertion
Creates aMessage
list assertion object.- Parameters:
actual
- the actual
-
-
Method Details
-
isEquivalentTo
public CssPropertyListAssertion isEquivalentTo(List<org.carrot2.labs.smartsprites.css.CssProperty> properties) Asserts that the current message list is equivalent to the provided expected message list.- Parameters:
properties
- the properties- Returns:
- the css property list assertion
-
isEquivalentTo
public CssPropertyListAssertion isEquivalentTo(org.carrot2.labs.smartsprites.css.CssProperty... properties) Asserts that the current message list is equivalent to the provided expected message list.- Parameters:
properties
- the properties- Returns:
- the css property list assertion
-
isEmpty
Checks if is empty.- Returns:
- the css property list assertion
-