Class CssPropertyAssertion
java.lang.Object
org.carrot2.labs.test.CssPropertyAssertion
Assertions on instances of
CssProperty.-
Constructor Summary
ConstructorsConstructorDescriptionCssPropertyAssertion(CssProperty actual) Creates aCssPropertyassertion object. -
Method Summary
Modifier and TypeMethodDescriptionAs.isEquivalentTo(CssProperty expected) Asserts that the current property is equivalent to the provided expected property.
-
Constructor Details
-
CssPropertyAssertion
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
-