DevInfo
Wednesday, 17 June 2015
How to match any enum?
Matchers.any(MyEnum.class):
when(serviceMock.preview(anyString(), any(DataSourceEnum.class)).thenReturn(anyMapOf(String.class, Collection.class)
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment