assertNameEndingWith
Asserts that all file declarations have names ending with any of the specified suffixes.
Example:
files.assertNameEndingWith("Test", "Spec")Parameters
The allowed suffixes. At least one must match.
Throws
if any file name does not end with any of the specified suffixes.
Asserts that all file declarations in the scope have names ending with any of the specified suffixes.
Parameters
The allowed suffixes. At least one must match.
Throws
if any file name does not end with any of the specified suffixes.
Asserts that all class declarations have names ending with any of the specified suffixes.
Example:
classes.assertNameEndingWith("Repository", "Repo")Parameters
The allowed suffixes. At least one must match.
Throws
if any class name does not end with any of the specified suffixes.
Asserts that all class declarations in the scope have names ending with any of the specified suffixes.
Parameters
The allowed suffixes. At least one must match.
Throws
if any class name does not end with any of the specified suffixes.