Package spoon.testing
Class AbstractCtElementAssert<T extends AbstractCtElementAssert<T>>
- Direct Known Subclasses:
CtElementAssert
public abstract class AbstractCtElementAssert<T extends AbstractCtElementAssert<T>>
extends AbstractAssert<T,CtElement>
-
Field Summary
Fields inherited from class spoon.testing.AbstractAssert
actual, myself, processors
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCtElementAssert(CtElement actual, Class<?> selfType)
-
Method Summary
Methods inherited from class spoon.testing.AbstractAssert
hashCode, withProcessor, withProcessor, withProcessor
-
Constructor Details
-
AbstractCtElementAssert
-
-
Method Details
-
isEqualTo
Verifies that the actual value is equal to the given one.- Parameters:
expected
- The expected element.- Returns:
this
assertion object.
-
isEqualTo
Verifies that the actual value is equal to the given one.- Parameters:
expected
- The expected render of the element.- Returns:
this
assertion object.
-