-
-
Notifications
You must be signed in to change notification settings - Fork 3
MapForgery
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.PROPERTY]) annotation class MapForgery
Mark a field, property or method parameter as a map forgery.
key
- a AdvancedForgery describing how to forge the keys in the map. Leave default if your Map uses custom
objects with existing ForgeryFactory as keys.
value
- a AdvancedForgery describing how to forge the values in the map. Leave default if your Map uses custom
objects with existing ForgeryFactory as values.
MapForgery(key:
AdvancedForgery
= AdvancedForgery(), value:
AdvancedForgery
= AdvancedForgery())
Mark a field, property or method parameter as a map forgery.
key
- a AdvancedForgery describing how to forge the keys in the map. Leave default if your Map uses custom
objects with existing ForgeryFactory as keys.
value
- a AdvancedForgery describing how to forge the values in the map. Leave default if your Map uses custom
objects with existing ForgeryFactory as values.
val key:
AdvancedForgery
a AdvancedForgery describing how to forge the keys in the map. Leave default if your Map uses custom objects with existing ForgeryFactory as keys.
val value:
AdvancedForgery
a AdvancedForgery describing how to forge the values in the map. Leave default if your Map uses custom objects with existing ForgeryFactory as values.
Xavier F. Gouchet – @xgouchet
Distributed under the MIT license. See LICENSE.md for more information.
https://github.com/xgouchet/Elymr
- Home
- Getting Started
- Core Module
- Integrations
- Reference (core)
- Reference (junit4)
- Reference (junit5)
- Reference (spek)