Class AssertParser.AssertFactoryBean

All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Assert>
Enclosing class:
AssertParser

public static class AssertParser.AssertFactoryBean extends AbstractTestContainerFactoryBean<Assert,Assert.Builder>
Test action factory bean.
  • Constructor Details

    • AssertFactoryBean

      public AssertFactoryBean()
  • Method Details

    • setAction

      public void setAction(TestAction action)
      Sets the test action.
      Parameters:
      action -
    • setMessage

      public void setMessage(String message)
      Set the message to send.
      Parameters:
      message - the message to set
    • setException

      public void setException(Class<? extends Throwable> exception)
      Sets the exception.
      Parameters:
      exception - the exception to set
    • getObject

      public Assert getObject() throws Exception
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
    • getBuilder

      public Assert.Builder getBuilder()
      Obtains the builder.
      Specified by:
      getBuilder in class AbstractTestActionFactoryBean<Assert,Assert.Builder>
      Returns:
      the builder implementation.