Thanks for the feedback Stefan :)
2014-08-28 17:40 GMT+02:00 Stefan Bodewig :
> On 2014-08-28, Stefan Bodewig wrote:
>
> > On 2014-08-28, wrote:
>
> >> workwaround to fix unit tests as Hamcrest's IsCollectionContaining
> seems buggy
>
> > actually, it is Hamcrest's isA matcher that is borked, s
On 2014-08-28, Stefan Bodewig wrote:
> On 2014-08-28, wrote:
>> workwaround to fix unit tests as Hamcrest's IsCollectionContaining seems
>> buggy
> actually, it is Hamcrest's isA matcher that is borked, stumbled over it
> myself a few times.
and you can use
new org.hamcrest.core.IsInstanceOf
On 2014-08-28, wrote:
> workwaround to fix unit tests as Hamcrest's IsCollectionContaining seems buggy
actually, it is Hamcrest's isA matcher that is borked, stumbled over it
myself a few times.
> -assertThat(project.getBuildListeners(),
> hasItem(isA(MultiModuleLogger.class)));
here