Package spoon.testing
Class Assert
java.lang.Object
spoon.testing.Assert
Entry point for assertion methods for different data types.
 Each method in this class is a static factory for the type-specific
 assertion objects. The purpose of this class is to make test code
 more readable.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractFileAssert<?>assertThat(File actual)Create a new instance of.FileAssertstatic AbstractFileAssert<?>assertThat(String actual)Create a new instance of.FileAssertstatic AbstractCtElementAssert<?>assertThat(CtElement actual)Create a new instance of.CtElementAssertstatic AbstractCtPackageAssert<?>assertThat(CtPackage actual)Create a new instance of.CtPackageAssert 
- 
Method Details
- 
assertThat
Create a new instance of.FileAssert- Parameters:
 actual- The actual value.- Returns:
 - the created assertion object.
 
 - 
assertThat
Create a new instance of.FileAssert- Parameters:
 actual- The actual value.- Returns:
 - the created assertion object.
 
 - 
assertThat
Create a new instance of. Note that a package typed by CtElement will call this method and notCtElementAssertassertThat(CtPackage).- Parameters:
 actual- The actual value.- Returns:
 - the created assertion object.
 
 - 
assertThat
Create a new instance of. Note that this assert will be make a deep equals with its content (all types).CtPackageAssert- Parameters:
 actual- The actual value.- Returns:
 - the created assertion object.
 
 
 -