assertNameStartingWith
Asserts that all file declarations have names starting with any of the specified prefixes.
Example:
files.assertNameStartingWith("Get", "Fetch")Parameters
The allowed prefixes. At least one must match.
Throws
if any file name does not start with any of the specified prefixes.
Asserts that all file declarations in the scope have names starting with any of the specified prefixes.
Parameters
The allowed prefixes. At least one must match.
Throws
if any file name does not start with any of the specified prefixes.
Asserts that all class declarations have names starting with any of the specified prefixes.
Example:
classes.assertNameStartingWith("Get", "Fetch")Parameters
The allowed prefixes. At least one must match.
Throws
if any class name does not start with any of the specified prefixes.
Asserts that all class declarations in the scope have names starting with any of the specified prefixes.
Parameters
The allowed prefixes. At least one must match.
Throws
if any class name does not start with any of the specified prefixes.