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 |
isNotNull() |
void |
isNull() |
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 isNull()
public void isNotNull()
public void hasExpectation(PropertyExpectation<T> expectation)
Copyright © 2014. All rights reserved.