Package org.carrot2.labs.test
Class CssPropertyAssertion
java.lang.Object
org.carrot2.labs.test.CssPropertyAssertion
Assertions on instances of
CssProperty.-
Constructor Summary
ConstructorsConstructorDescriptionCssPropertyAssertion(org.carrot2.labs.smartsprites.css.CssProperty actual) Creates aCssPropertyassertion object. -
Method Summary
Modifier and TypeMethodDescriptionAs.isEquivalentTo(org.carrot2.labs.smartsprites.css.CssProperty expected) Asserts that the current property is equivalent to the provided expected property.
-
Constructor Details
-
CssPropertyAssertion
public CssPropertyAssertion(org.carrot2.labs.smartsprites.css.CssProperty actual) Creates aCssPropertyassertion object.- Parameters:
actual- the actual
-
-
Method Details
-
isEquivalentTo
Asserts that the current property is equivalent to the provided expected property.- Parameters:
expected- the expected- Returns:
- the css property assertion
-
as
As.- Parameters:
description- the description- Returns:
- the css property assertion
-