public class PrototypeChecker<T> extends Object
| Constructor and Description |
|---|
PrototypeChecker(T actual) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(T prototype)
Check the actual instance of the object matches the expectations set on the proptype.
|
protected boolean |
matchesPrototype(Prototyped<?> prototyped,
StringBuffer mismatchDescription) |
public PrototypeChecker(T actual)
public boolean matches(T prototype)
prototype - the prototype object containing the expectationsprotected boolean matchesPrototype(Prototyped<?> prototyped, StringBuffer mismatchDescription)
Copyright © 2014. All rights reserved.