endsWith

fun endsWith(param: String, value: String, id: String? = null)

Adds a requirement that the value of the specified parameter ends with the given value

Parameters

param

parameter name

value

suffix to check

id

optional requirement id, if not specified will be generated