com.atlassian.jira.mock.ofbiz.matchers
Class EntityFieldMapMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.mockito.ArgumentMatcher<org.ofbiz.core.entity.EntityFieldMap>
          extended by com.atlassian.jira.mock.ofbiz.matchers.EntityFieldMapMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.ofbiz.core.entity.EntityFieldMap>, org.hamcrest.SelfDescribing

public class EntityFieldMapMatcher
extends org.mockito.ArgumentMatcher<org.ofbiz.core.entity.EntityFieldMap>

Mockito/hamcrest matcher factory for an EntityFieldMap.

Since:
v6.2

Method Summary
 void describeTo(org.hamcrest.Description description)
           
static EntityFieldMapMatcher entityFieldMap(org.ofbiz.core.entity.EntityFieldMap expected)
           
static EntityFieldMapMatcher entityFieldMap(Map<String,?> expected)
           
 boolean matches(Object o)
           
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

entityFieldMap

public static EntityFieldMapMatcher entityFieldMap(Map<String,?> expected)

entityFieldMap

public static EntityFieldMapMatcher entityFieldMap(org.ofbiz.core.entity.EntityFieldMap expected)

matches

public boolean matches(Object o)
Specified by:
matches in interface org.hamcrest.Matcher<org.ofbiz.core.entity.EntityFieldMap>
Specified by:
matches in class org.mockito.ArgumentMatcher<org.ofbiz.core.entity.EntityFieldMap>

describeTo

public void describeTo(org.hamcrest.Description description)
Specified by:
describeTo in interface org.hamcrest.SelfDescribing
Overrides:
describeTo in class org.mockito.ArgumentMatcher<org.ofbiz.core.entity.EntityFieldMap>


Copyright © 2002-2014 Atlassian. All Rights Reserved.