@@ -50,6 +50,11 @@ All notable changes to this project will be documented in this file, in reverse
50
50
- ` LazyListenerAggregate ` , which, provided a list of ` LazyEventListeners ` and/or
51
51
definitions to use to create them, acts as an aggregate for attaching a number
52
52
of such listeners at once.
53
+ - [ #20 ] ( https://github.com/zendframework/zend-eventmanager/pull/20 ) updates the
54
+ trait ` Zend\EventManager\Test\EventListenerIntrospectionTrait ` so that the
55
+ implementation will work with the v3 changes; the tests written for v2
56
+ continue to pass, allowing this trait to be used to provide compatibility
57
+ testing between v2 and v3.
53
58
54
59
### Deprecated
55
60
@@ -82,6 +87,34 @@ All notable changes to this project will be documented in this file, in reverse
82
87
83
88
- ` FilterIterator::insert() ` has been modified to raise an exception if the value provided is not a callable.
84
89
90
+ ## 2.6.2 - 2016-01-12
91
+
92
+ ### Added
93
+
94
+ - [ #19 ] ( https://github.com/zendframework/zend-eventmanager/pull/19 ) adds a new
95
+ trait, ` Zend\EventManager\Test\EventListenerIntrospectionTrait ` , intended for
96
+ composition in unit tests. It provides a number of methods that can be used
97
+ to retrieve listeners with or without associated priority, and the assertion
98
+ ` assertListenerAtPriority(callable $listener, $priority, $event, EventManager $events, $message = '') ` ,
99
+ which can be used for testing that a listener was registered at the specified
100
+ priority with the specified event.
101
+
102
+ The features in this patch are intended to facilitate testing against both
103
+ version 2 and version 3 of zend-eventmanager, as it provides a consistent API
104
+ for retrieving lists of events and listeners between the two versions.
105
+
106
+ ### Deprecated
107
+
108
+ - Nothing.
109
+
110
+ ### Removed
111
+
112
+ - Nothing.
113
+
114
+ ### Fixed
115
+
116
+ - Nothing.
117
+
85
118
## 2.6.0 - 2015-09-29
86
119
87
120
### Added
0 commit comments