public class PrototypeObjectExpectation<T> extends Object
| Constructor and Description |
|---|
PrototypeObjectExpectation(Prototype<?> prototype,
PrototypeProperty property) |
| Modifier and Type | Method and Description |
|---|---|
void |
hasExpectation(PropertyExpectation<T> expectation) |
void |
isEqualTo(T expectedValue) |
void |
isInstanceOf(Class<? extends T> expectedValue) |
void |
isNotEqualTo(T expectedValue) |
void |
isNotNull() |
void |
isNull() |
void |
isOneOf(Collection<T> possibleValues) |
void |
isOneOf(T... possibleValues) |
void |
matches(org.hamcrest.Matcher<T> expected) |
public PrototypeObjectExpectation(Prototype<?> prototype, PrototypeProperty property)
public void matches(org.hamcrest.Matcher<T> expected)
public void isEqualTo(T expectedValue)
public void isNotEqualTo(T expectedValue)
public void isOneOf(T... possibleValues)
public void isOneOf(Collection<T> possibleValues)
public void isNull()
public void isNotNull()
public void hasExpectation(PropertyExpectation<T> expectation)
Copyright © 2015. All rights reserved.