public class PrototypeExpectationBuilderImpl<T> extends Object implements ObjectExpectations<T>
| Constructor and Description |
|---|
PrototypeExpectationBuilderImpl(Prototype<?> prototype,
PrototypeProperty property) |
| Modifier and Type | Method and Description |
|---|---|
void |
equalTo(T expectedValue)
Verify the property is equal to the expected value
|
void |
matches(org.hamcrest.Matcher<T> expected)
Verify the property matches the expected matcher
|
void |
notNullValue()
Verify the property has a non-null value
|
void |
nullValue()
Verify the property has a null value
|
public PrototypeExpectationBuilderImpl(Prototype<?> prototype, PrototypeProperty property)
public void matches(org.hamcrest.Matcher<T> expected)
ObjectExpectationsmatches in interface ObjectExpectations<T>public void equalTo(T expectedValue)
ObjectExpectationsequalTo in interface ObjectExpectations<T>public void nullValue()
ObjectExpectationsnullValue in interface ObjectExpectations<T>public void notNullValue()
ObjectExpectationsnotNullValue in interface ObjectExpectations<T>Copyright © 2014. All Rights Reserved.