public class ExpectationToJavaSerializer extends Object implements ToJavaSerializer<Expectation>
Modifier and Type | Field and Description |
---|---|
static int |
INDENT_SIZE |
Constructor and Description |
---|
ExpectationToJavaSerializer() |
Modifier and Type | Method and Description |
---|---|
String |
serialize(int numberOfSpacesToIndent,
Expectation expectation) |
String |
serialize(List<Expectation> expectations) |
public static final int INDENT_SIZE
public String serialize(List<Expectation> expectations)
public String serialize(int numberOfSpacesToIndent, Expectation expectation)
serialize
in interface ToJavaSerializer<Expectation>
Copyright © 2020. All rights reserved.