|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.spy.yamlmock.YamlMock<T>
public class YamlMock<T>
Yaml mock constructor.
| Constructor Summary | |
|---|---|
YamlMock(Class<T> theClass)
Construct a YamlMock that builds objects of the given type. |
|
| Method Summary | |
|---|---|
T |
create(Reader r)
Create a YamlMock with a default type resolver. |
T |
create(Reader r,
TypeResolver tr)
Create an instance of the given interface from .yml in the given reader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YamlMock(Class<T> theClass)
| Method Detail |
|---|
public T create(Reader r,
TypeResolver tr)
throws Exception
Exception
public T create(Reader r)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||