
com.squareup.javapoet.ClassNameAssert Maven / Gradle / Ivy
The newest version!
package com.squareup.javapoet;
/**
* {@link ClassName} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractClassNameAssert} instead.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public class ClassNameAssert extends AbstractClassNameAssert {
/**
* Creates a new {@link ClassNameAssert}
to make assertions on actual ClassName.
* @param actual the ClassName we want to make assertions on.
*/
public ClassNameAssert(ClassName actual) {
super(actual, ClassNameAssert.class);
}
/**
* An entry point for ClassNameAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myClassName)
and get specific assertion with code completion.
* @param actual the ClassName we want to make assertions on.
* @return a new {@link ClassNameAssert}
*/
@org.assertj.core.util.CheckReturnValue
public static ClassNameAssert assertThat(ClassName actual) {
return new ClassNameAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy