public class ConfigurationPropertiesEqualTo extends org.hamcrest.BaseMatcher<Dictionary<String,Object>>
BaseMatcher
used to see if a Configuration
object's
properties match the ones provided.Modifier and Type | Field and Description |
---|---|
protected Dictionary<String,Object> |
expectedProperties |
Constructor and Description |
---|
ConfigurationPropertiesEqualTo(Dictionary<String,Object> expectedProperties)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static ConfigurationPropertiesEqualTo |
equalToConfigurationProperties(Dictionary<String,Object> expectedProperties)
Utility method used to create an instance of this matcher.
|
boolean |
matches(Object object) |
protected Dictionary<String,Object> expectedProperties
public ConfigurationPropertiesEqualTo(Dictionary<String,Object> expectedProperties)
expectedProperties
- properties required for this matcher to return true
public static ConfigurationPropertiesEqualTo equalToConfigurationProperties(Dictionary<String,Object> expectedProperties)
expectedProperties
- properties required for this matcher to return true
public boolean matches(Object object)
public void describeTo(org.hamcrest.Description description)
This work is licensed under a Creative Commons Attribution 4.0 International License.