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

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

The newest version!
package com.squareup.javapoet;

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy