public class ShouldHaveContent extends AbstractShouldHaveTextContent
diffsarguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveContent(java.io.File actual,
java.nio.charset.Charset charset,
java.util.List<java.lang.String> diffs)
Creates a new
. |
create, diffsAsStringequals, hashCode, toStringpublic static ErrorMessageFactory shouldHaveContent(java.io.File actual, java.nio.charset.Charset charset, java.util.List<java.lang.String> diffs)
ShouldHaveContent.actual - the actual file in the failed assertion.charset - the charset that was used to read the file.diffs - the differences between actual and the expected text that was provided in the assertion.ErrorMessageFactory.Copyright © 2007–2018. All rights reserved.