Package it.tidalwave.role.ui
Class PresentationModelMatcher
- java.lang.Object
-
- it.tidalwave.role.ui.PresentationModelMatcher
-
- All Implemented Interfaces:
org.mockito.ArgumentMatcher<PresentationModel>
@NotThreadSafe public class PresentationModelMatcher extends java.lang.Object implements org.mockito.ArgumentMatcher<PresentationModel>
AMatcher
forPresentationModel
.- Author:
- Fabrizio Giudici
- Stereotype:
- mockito matcher
-
-
Constructor Summary
Constructors Constructor Description PresentationModelMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(PresentationModel pm)
java.lang.String
toString()
PresentationModelMatcher
withRole(java.lang.Class<?> roleType)
-
-
-
Method Detail
-
withRole
@Nonnull public PresentationModelMatcher withRole(@Nonnull java.lang.Class<?> roleType)
-
matches
public boolean matches(@Nullable PresentationModel pm)
- Specified by:
matches
in interfaceorg.mockito.ArgumentMatcher<PresentationModel>
-
toString
@Nonnull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-