Package spoon.testing

Class AbstractCtElementAssert<T extends AbstractCtElementAssert<T>>

java.lang.Object
spoon.testing.AbstractAssert<T,​CtElement>
spoon.testing.AbstractCtElementAssert<T>
Direct Known Subclasses:
CtElementAssert

public abstract class AbstractCtElementAssert<T extends AbstractCtElementAssert<T>> extends AbstractAssert<T,​CtElement>
  • Constructor Details

    • AbstractCtElementAssert

      protected AbstractCtElementAssert(CtElement actual, Class<?> selfType)
  • Method Details

    • isEqualTo

      public T isEqualTo(CtElement expected)
      Verifies that the actual value is equal to the given one.
      Parameters:
      expected - The expected element.
      Returns:
      this assertion object.
    • isEqualTo

      public T isEqualTo(String expected)
      Verifies that the actual value is equal to the given one.
      Parameters:
      expected - The expected render of the element.
      Returns:
      this assertion object.