All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squareup.javapoet.CodeBlockAssert Maven / Gradle / Ivy

The newest version!
package com.squareup.javapoet;

/**
 * {@link CodeBlock} specific assertions - Generated by CustomAssertionGenerator.
 *
 * Although this class is not final to allow Soft assertions proxy, if you wish to extend it, 
 * extend {@link AbstractCodeBlockAssert} instead.
 */
@javax.annotation.Generated(value="assertj-assertions-generator")
public class CodeBlockAssert extends AbstractCodeBlockAssert {

  /**
   * Creates a new {@link CodeBlockAssert} to make assertions on actual CodeBlock.
   * @param actual the CodeBlock we want to make assertions on.
   */
  public CodeBlockAssert(CodeBlock actual) {
    super(actual, CodeBlockAssert.class);
  }

  /**
   * An entry point for CodeBlockAssert to follow AssertJ standard assertThat() statements.
* With a static import, one can write directly: assertThat(myCodeBlock) and get specific assertion with code completion. * @param actual the CodeBlock we want to make assertions on. * @return a new {@link CodeBlockAssert} */ @org.assertj.core.util.CheckReturnValue public static CodeBlockAssert assertThat(CodeBlock actual) { return new CodeBlockAssert(actual); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy