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

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

public class EntityExprMatcher
extends org.mockito.ArgumentMatcher<org.ofbiz.core.entity.EntityExpr>

Mockito/hamcrest matcher factory for an EntityExpr.

Since:
v6.2

Method Summary
 void describeTo(org.hamcrest.Description description)
           
static EntityExprMatcher entityExpr(org.ofbiz.core.entity.EntityExpr 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

entityExpr

public static EntityExprMatcher entityExpr(org.ofbiz.core.entity.EntityExpr expected)

matches

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

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.EntityExpr>


Copyright © 2002-2014 Atlassian. All Rights Reserved.